summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2010-06-02 12:11:20 +0200
committerOndrej Filip <feela@majklik.network.cz>2010-06-02 12:11:20 +0200
commit4461b8979143bd13024663622c419646a1db0c85 (patch)
tree6d8949a4273482a1397f7783e0f1f97009a756c9 /proto
parent9ef239946b7298a679a9b155606257738bb52347 (diff)
downloadbird-4461b8979143bd13024663622c419646a1db0c85.tar
bird-4461b8979143bd13024663622c419646a1db0c85.zip
Minor bug that appears only in debug mode.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/topology.c2
1 files changed, 1 insertions, 1 deletions
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 */