summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-09-11 21:10:58 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2019-02-27 22:41:31 +0100
commit079c415c4d25474a6a608406276ba5cbd8b244cf (patch)
treee2b75390ab62c8de86bda2305bde4442f283cc7b /proto/bgp/bgp.c
parent7c36eb3e8bd7d06f65dc7319d42b6abe782c5b89 (diff)
WIP debugold/debug
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 8dedde9f..512220ae 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -1405,7 +1405,7 @@ bgp_start_locked(struct object_lock *lock)
p->neigh = n;
- if (n->scope <= 0)
+ if (n->scope < 0)
BGP_TRACE(D_EVENTS, "Waiting for %I%J to become my neighbor", cf->remote_ip, cf->iface);
else if (p->cf->check_link && !(n->iface->flags & IF_LINK_UP))
BGP_TRACE(D_EVENTS, "Waiting for link on %s", n->iface->name);