From 5d3f555234d7144272e3081665411d098280d5ad Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 13 Feb 2005 23:36:31 +0000 Subject: Many bugfixes in routing table calculation and summary LSA origination. --- 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 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); -- cgit v1.2.3