diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 19:58:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-05-02 19:58:34 +0200 |
commit | 6384c7d7aa85d1e593eca30cda48f6677b023cb0 (patch) | |
tree | 6c926854e331ab87fe98d6dca9c95c708843a086 /proto/ospf/hello.c | |
parent | ba321706578de8402d50214a9e79a65835cdd821 (diff) |
OSPF: most of summary LSA orig./flush logic rewritten.
Fixes many bugs in the old code and makes it much cleaner.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r-- | proto/ospf/hello.c | 2 |
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; |