summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-05-09 11:11:06 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-05-09 11:11:06 +0200
commit9c99d753fd672bd9839715ee325ef01cca993dbf (patch)
tree79291ec4e16390c3a25ea9c9987b21355d2b6727 /proto/bgp/bgp.c
parenta2017200c71293d0a28a39d1f250ba38d57f6289 (diff)
Fixes a problem with BGP neighbors, link-local addresses and locking.
Thanks to Fritz Grimpen for the bugfix.
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 0f351b44..b1594b92 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -840,7 +840,6 @@ bgp_start(struct proto *P)
lock->iface = p->cf->iface;
lock->type = OBJLOCK_TCP;
lock->port = BGP_PORT;
- lock->iface = NULL;
lock->hook = bgp_start_locked;
lock->data = p;
olock_acquire(lock);