Skip to content

Commit 8c746b2

Browse files
authored
bind GoBGP just to node IP addresses (#393)
Fixes #385
1 parent af9875d commit 8c746b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/network_routes_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ func (nrc *NetworkRoutingController) startBgpServer() error {
15661566
var localAddressList []string
15671567

15681568
if ipv4IsEnabled() {
1569-
localAddressList = append(localAddressList, "0.0.0.0")
1569+
localAddressList = append(localAddressList, nrc.nodeIP.String())
15701570
}
15711571

15721572
if ipv6IsEnabled() {

0 commit comments

Comments
 (0)