Fixes a problem with BGP neighbors, link-local addresses and locking.

Thanks to Fritz Grimpen for the bugfix.
This commit is contained in:
Ondrej Zajicek 2013-05-09 11:11:06 +02:00
parent a2017200c7
commit 9c99d753fd

View file

@ -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);