summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-01-08 19:34:12 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2011-01-08 19:34:12 +0100
commit9d67ffb0b4cdfbbf88779ce2b44ba810d1ba85d3 (patch)
tree3e9181068329c22c16402f5f3a82b15fab999f6c /nest
parentd32a071da9655c2d05038e721bcf020498263c1e (diff)
downloadbird-9d67ffb0b4cdfbbf88779ce2b44ba810d1ba85d3.tar
bird-9d67ffb0b4cdfbbf88779ce2b44ba810d1ba85d3.zip
Fixes scope for sticky neighbors.
Diffstat (limited to 'nest')
-rw-r--r--nest/neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c
index 785b1d4..1e0780c 100644
--- a/nest/neighbor.c
+++ b/nest/neighbor.c
@@ -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;