diff options
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r-- | proto/bgp/bgp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index f05a85d4..98c49b30 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -723,9 +723,8 @@ bgp_start_neighbor(struct bgp_proto *p) { /* Called only for single-hop BGP sessions */ - /* Remove this ? */ if (ipa_zero(p->source_addr)) - p->source_addr = p->neigh->iface->addr->ip; + p->source_addr = p->neigh->ifa->ip; #ifdef IPV6 { |