diff options
-rw-r--r-- | bgpd/bgp_vty.c | 2 | ||||
-rw-r--r-- | lib/if.c | 2 | ||||
-rw-r--r-- | lib/if.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 2e9758a9..2d63dcbe 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -8796,7 +8796,7 @@ static struct cmd_node bgp_ipv4_multicast_node = 1, }; -static struct cmd_node bgp_ipv6_unicast_node = +static struct cmd_node bgp_ipv6_unicast_node = { BGP_IPV6_NODE, "%s(config-router-af)# ", @@ -135,7 +135,7 @@ if_create (const char *name, int namelen) ifp->connected = list_new (); ifp->connected->del = (void (*) (void *)) connected_free; - + if (if_master.if_new_hook) (*if_master.if_new_hook) (ifp); @@ -277,7 +277,7 @@ static inline int if_is_operative (const struct interface *ifp) { return ((ifp->flags & IFF_UP) && - (ifp->flags & IFF_RUNNING || + ((ifp->flags & IFF_RUNNING) || !CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION))); } |