]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_vnc_types.h
bgpd: Fix continue/break change from old commit
[mirror_frr.git] / bgpd / bgp_vnc_types.h
index 70f5646e9473ffe0eade5763bbd91f18223459e0..04847ce6c955974a99828a2cd1df20a0b74ea1f2 100644 (file)
 #ifndef _QUAGGA_BGP_VNC_TYPES_H
 #define _QUAGGA_BGP_VNC_TYPES_H
 
-#if ENABLE_BGP_VNC
+#ifdef ENABLE_BGP_VNC
 typedef enum {
        BGP_VNC_SUBTLV_TYPE_LIFETIME = 1,
        BGP_VNC_SUBTLV_TYPE_RFPOPTION = 2, /* deprecated */
 } bgp_vnc_subtlv_types;
 
-/*
- * VNC Attribute subtlvs
- */
-struct bgp_vnc_subtlv_lifetime {
-       uint32_t lifetime;
-};
-
-struct bgp_vnc_subtlv_unaddr {
-       struct prefix un_address; /* IPv4 or IPv6; pfx length ignored */
-};
-
 #endif /* ENABLE_BGP_VNC */
 #endif /* _QUAGGA_BGP_VNC_TYPES_H */