summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-12-04 18:52:49 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-12-04 19:44:37 +0100
commit3ee39b5ba0c9c60a7067d53dd21ff8dd7304b376 (patch)
tree564a13c1ca19c0ddcab1f113e01766010266858b /lib/nexthop.h
parentzebra: Remove STATIC_XXX_IFNAME and use _IFINDEX (diff)
downloadfrr-3ee39b5ba0c9c60a7067d53dd21ff8dd7304b376.tar.xz
frr-3ee39b5ba0c9c60a7067d53dd21ff8dd7304b376.zip
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 8a3a7620a..eb9b27ea9 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;