diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/if.c | 2 | ||||
-rw-r--r-- | lib/if.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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))); } |