diff options
Diffstat (limited to 'server/server.go')
-rw-r--r-- | server/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/server.go b/server/server.go index 67499076..386e82f3 100644 --- a/server/server.go +++ b/server/server.go @@ -1766,6 +1766,7 @@ func (server *BgpServer) handleGrpcModNeighbor(grpcReq *GrpcRequest) (sMsgs []*S var pconf config.Neighbor if a.Conf != nil { pconf.NeighborAddress = net.ParseIP(a.Conf.NeighborAddress) + pconf.NeighborConfig.NeighborAddress = net.ParseIP(a.Conf.NeighborAddress) pconf.NeighborConfig.PeerAs = a.Conf.PeerAs pconf.NeighborConfig.LocalAs = a.Conf.LocalAs if pconf.NeighborConfig.PeerAs != server.bgpConfig.Global.GlobalConfig.As { |