summaryrefslogtreecommitdiffstats
path: root/babeld/babel_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'babeld/babel_interface.h')
-rw-r--r--babeld/babel_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babel_interface.h b/babeld/babel_interface.h
index 983382792..cf85310be 100644
--- a/babeld/babel_interface.h
+++ b/babeld/babel_interface.h
@@ -100,7 +100,7 @@ if_up(struct interface *ifp)
{
return (if_is_operative(ifp) &&
ifp->connected != NULL &&
- (babel_get_if_nfo(ifp)->flags & BABEL_IF_IS_UP));
+ CHECK_FLAG(babel_get_if_nfo(ifp)->flags, BABEL_IF_IS_UP));
}
struct buffered_update {