summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-13 23:36:31 +0000
committerOndrej Filip <feela@network.cz>2005-02-13 23:36:31 +0000
commit5d3f555234d7144272e3081665411d098280d5ad (patch)
tree24383496aa4fe4db700dc58ed3ed841c8069399d /proto/ospf/hello.c
parent0d3effcf8ca3784c36ce6229343ddfd754e405dc (diff)
Many bugfixes in routing table calculation and summary LSA origination.
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 d3145b9f..5711ac5f 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);