]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Remove missed HAVE_IPV6
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 13 Jan 2017 19:32:02 +0000 (14:32 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 13 Jan 2017 19:32:02 +0000 (14:32 -0500)
Not sure how I missed this :(

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_open.c

index af3c0486e5dd3e69ded4c73a45b83930e981e76c..9e1b4392c9dd4f8dac2883391396947c10532691 100644 (file)
@@ -1302,7 +1302,6 @@ bgp_open_capability (struct stream *s, struct peer *peer)
       stream_putc (s, 0);
       stream_putc (s, SAFI_ENCAP);
     }
-#ifdef HAVE_IPV6
   /* Currently supporting RFC-5549 for Link-Local peering only */
   if (CHECK_FLAG (peer->flags, PEER_FLAG_CAPABILITY_ENHE) &&
       peer->su.sa.sa_family == AF_INET6 &&
@@ -1371,7 +1370,6 @@ bgp_open_capability (struct stream *s, struct peer *peer)
       stream_putc (s, 0);
       stream_putc (s, SAFI_ENCAP);
     }
-#endif /* HAVE_IPV6 */
 
   /* Route refresh. */
   SET_FLAG (peer->cap, PEER_CAP_REFRESH_ADV);