]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Merge commit '280daed5' into thread-merge-2.16
authorMaria Matejka <mq@ucw.cz>
Thu, 28 Nov 2024 08:02:59 +0000 (09:02 +0100)
committerMaria Matejka <mq@ucw.cz>
Thu, 28 Nov 2024 08:02:59 +0000 (09:02 +0100)
1  2 
nest/neighbor.c
proto/ospf/ospf.h
proto/ospf/rt.c
proto/ospf/topology.c

diff --cc nest/neighbor.c
index a477235ecd4ed08d2320b7bfffe2e6703471e8e1,63c07f83f800235d62cdb7a1a67b3ad14cb13d19..4796419b1759a36c3398cbc8ce86a3f2c58d3ef3
@@@ -232,11 -217,9 +232,12 @@@ neigh_find(struct proto *p, ip_addr a, 
    struct ifa *addr = NULL;
  
    WALK_LIST(n, neigh_hash_table[h])   /* Search the cache */
-     if ((n->proto == p) && ipa_equal(n->addr, a) && (n->ifreq == iface))
+     if ((n->proto == p) && ipa_equal(n->addr, a) && (n->ifreq == iface) &&
+       ((n->flags & NEF_ONLINK) == (flags & NEF_ONLINK)))
 +    {
 +      IFACE_UNLOCK;
        return n;
 +    }
  
    if (flags & NEF_IFACE)
    {
Simple merge
diff --cc proto/ospf/rt.c
Simple merge
Simple merge