mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Minor bug that appears only in debug mode.
This commit is contained in:
parent
9ef239946b
commit
4461b89791
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user