diff options
author | Ondrej Filip <feela@network.cz> | 2005-02-14 00:36:31 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2005-02-14 00:36:31 +0100 |
commit | 5d3f555234d7144272e3081665411d098280d5ad (patch) | |
tree | 24383496aa4fe4db700dc58ed3ed841c8069399d /proto/ospf/hello.c | |
parent | 0d3effcf8ca3784c36ce6229343ddfd754e405dc (diff) | |
download | bird-5d3f555234d7144272e3081665411d098280d5ad.tar bird-5d3f555234d7144272e3081665411d098280d5ad.zip |
Many bugfixes in routing table calculation and summary LSA origination.
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 d3145b9..5711ac5 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -24,7 +24,7 @@ ospf_hello_receive(struct ospf_hello_packet *ps, mask = ps->netmask; ipa_ntoh(mask); - if (((ifa->type != OSPF_IT_VLINK) || (ifa->type != OSPF_IT_PTP)) && + if (((ifa->type != OSPF_IT_VLINK) && (ifa->type != OSPF_IT_PTP)) && ((unsigned) ipa_mklen(mask) != ifa->iface->addr->pxlen)) { log(L_ERR "%s%I%sbad netmask %I.", beg, faddr, rec, mask); |