]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes scope for sticky neighbors.
authorOndrej Zajicek <santiago@crfreenet.org>
Sat, 8 Jan 2011 18:34:12 +0000 (19:34 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Sat, 8 Jan 2011 18:34:12 +0000 (19:34 +0100)
nest/neighbor.c

index 785b1d46743515c3250b0388d2175d9c144bb373..1e0780c11b848c8827550823e71b68e2410e4b47 100644 (file)
@@ -166,7 +166,7 @@ neigh_find2(struct proto *p, ip_addr *a, struct iface *ifa, unsigned flags)
         fortunately, we don't use this combination */
       add_tail(&sticky_neigh_list, &n->n);
       ifa = NULL;
-      scope = 0;
+      scope = -1;
     }
   n->iface = ifa;
   n->proto = p;