From 6384c7d7aa85d1e593eca30cda48f6677b023cb0 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 2 May 2010 19:58:34 +0200 Subject: OSPF: most of summary LSA orig./flush logic rewritten. Fixes many bugs in the old code and makes it much cleaner. --- proto/ospf/hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/hello.c') 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; -- cgit v1.2.3