Skip to content

Commit f450a4d

Browse files
committed
feat(bgp): establish connection to peer from listen on addr
1 parent 7edf6da commit f450a4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/bgp/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func Serve(ctx context.Context) (e error) {
9999
Transport: &bgpapi.Transport{
100100
PassiveMode: peer.PassiveMode,
101101
MtuDiscovery: true,
102+
LocalAddress: cfg.Bgp.Listen.IP.String(),
102103
},
103104
RouteServer: &bgpapi.RouteServer{
104105
RouteServerClient: false,

0 commit comments

Comments
 (0)