From 3ee39b5ba0c9c60a7067d53dd21ff8dd7304b376 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 4 Dec 2015 12:52:49 -0500 Subject: ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME The NEXTHOP_TYPE_XXX_IFNAME types were never being used. Remove them and the code associated with them. Signed-off-by: Donald Sharp --- lib/nexthop.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/nexthop.h') diff --git a/lib/nexthop.h b/lib/nexthop.h index 8a3a7620ab..eb9b27ea9e 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -34,13 +34,10 @@ union g_addr { enum nexthop_types_t { NEXTHOP_TYPE_IFINDEX = 1, /* Directly connected. */ - NEXTHOP_TYPE_IFNAME, /* Interface route. */ NEXTHOP_TYPE_IPV4, /* IPv4 nexthop. */ NEXTHOP_TYPE_IPV4_IFINDEX, /* IPv4 nexthop with ifindex. */ - NEXTHOP_TYPE_IPV4_IFNAME, /* IPv4 nexthop with ifname. */ NEXTHOP_TYPE_IPV6, /* IPv6 nexthop. */ NEXTHOP_TYPE_IPV6_IFINDEX, /* IPv6 nexthop with ifindex. */ - NEXTHOP_TYPE_IPV6_IFNAME, /* IPv6 nexthop with ifname. */ NEXTHOP_TYPE_BLACKHOLE, /* Null0 nexthop. */ }; @@ -51,7 +48,6 @@ struct nexthop struct nexthop *prev; /* Interface index. */ - char *ifname; unsigned int ifindex; enum nexthop_types_t type; -- cgit v1.2.3