]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Remove STATIC_XXX_IFNAME and use _IFINDEX
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Dec 2015 17:34:42 +0000 (12:34 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 4 Dec 2015 18:29:58 +0000 (10:29 -0800)
commitba7792416569bdf762162f780da918ec29894c9d
tree12903a2fc65da7393490a110139027a7809ea849
parentf1db66bfc22158f89aa92a290c8caa2c9f35cb22
zebra: Remove STATIC_XXX_IFNAME and use _IFINDEX

When we get a static route through an interface convert the interface
name to an ifindex and pass it through to zebra_rib.c. zebra_rib.c
should not care about the ifname.

This code change will allow us to collapse some of the NEXTHOP_XXX types.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rib.h
zebra/zebra_rib.c
zebra/zebra_vty.c