summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_nht.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-13 13:57:57 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-13 14:05:50 +0100
commit56c1f7d852de98aa5d752f9c7777ece660c26fdb (patch)
tree7cac20e7ea1d0ec6dd46a5398cd9b43643071b52 /bgpd/bgp_nht.c
parentMerge pull request #55 from donaldsharp/monotonic (diff)
downloadfrr-56c1f7d852de98aa5d752f9c7777ece660c26fdb.tar.xz
frr-56c1f7d852de98aa5d752f9c7777ece660c26fdb.zip
frr: Remove HAVE_IPV6 from code base
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_nht.c')
-rw-r--r--bgpd/bgp_nht.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_nht.c b/bgpd/bgp_nht.c
index 1ca048367..057e2ace7 100644
--- a/bgpd/bgp_nht.c
+++ b/bgpd/bgp_nht.c
@@ -509,7 +509,6 @@ make_prefix (int afi, struct bgp_info *ri, struct prefix *p)
p->prefixlen = IPV4_MAX_BITLEN;
}
break;
-#ifdef HAVE_IPV6
case AFI_IP6:
/* We don't register link local NH */
if (ri->attr->extra->mp_nexthop_len != BGP_ATTR_NHLEN_IPV6_GLOBAL
@@ -529,7 +528,6 @@ make_prefix (int afi, struct bgp_info *ri, struct prefix *p)
p->prefixlen = IPV6_MAX_BITLEN;
}
break;
-#endif
default:
if (BGP_DEBUG(nht, NHT))
{
@@ -582,11 +580,9 @@ sendmsg_zebra_rnh (struct bgp_nexthop_cache *bnc, int command)
case AF_INET:
stream_put_in_addr (s, &p->u.prefix4);
break;
-#ifdef HAVE_IPV6
case AF_INET6:
stream_put(s, &(p->u.prefix6), 16);
break;
-#endif
default:
break;
}