diff options
author | Ondrej Filip <feela@majklik.network.cz> | 2010-06-02 12:11:20 +0200 |
---|---|---|
committer | Ondrej Filip <feela@majklik.network.cz> | 2010-06-02 12:11:20 +0200 |
commit | 4461b8979143bd13024663622c419646a1db0c85 (patch) | |
tree | 6d8949a4273482a1397f7783e0f1f97009a756c9 | |
parent | 9ef239946b7298a679a9b155606257738bb52347 (diff) |
Minor bug that appears only in debug mode.
-rw-r--r-- | proto/ospf/topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 59e9c29d..ea674e2c 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 */ |