From 4461b8979143bd13024663622c419646a1db0c85 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 2 Jun 2010 12:11:20 +0200 Subject: Minor bug that appears only in debug mode. --- proto/ospf/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto') diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 59e9c29..ea674e2 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -886,7 +886,7 @@ check_ext_lsa(struct top_hash_entry *en, struct fib_node *fn, u32 metric, ip_add if (fn->pxlen != ipa_mklen(ext->netmask)) return -1; - return (ext->metric == metric) && (ext->tag == tag) && (ext->fwaddr == fwaddr); + return (ext->metric == metric) && (ext->tag == tag) && ipa_equal(ext->fwaddr,fwaddr); } #else /* OSPFv3 */ -- cgit v1.2.3