diff options
Diffstat (limited to 'zebra/rt_netlink.h')
| -rw-r--r-- | zebra/rt_netlink.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h index b67169d6f0..8506367ae4 100644 --- a/zebra/rt_netlink.h +++ b/zebra/rt_netlink.h @@ -30,7 +30,6 @@ extern "C" { #endif -#define NL_DEFAULT_ROUTE_METRIC 20 /* * Additional protocol strings to push into routes @@ -151,6 +150,9 @@ const char *ifa_flags2str(uint32_t flags, char *buf, size_t buflen); const char *nh_flags2str(uint32_t flags, char *buf, size_t buflen); void nl_dump(void *msg, size_t msglen); + +extern int zebra2proto(int proto); + #endif /* NETLINK_DEBUG */ #ifdef __cplusplus |
