summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index fedc5236..70fb6548 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -95,7 +95,7 @@ ospf_hello_receive(struct ospf_packet *ps_i, struct ospf_iface *ifa,
}
tmp = !(ps->options & OPT_E);
- if (tmp != ifa->oa->stub)
+ if (tmp != !!ifa->oa->stub)
{
log(L_ERR "%s%I - stub area flag mismatch (%d)", beg, faddr, tmp);
return;