diff options
Diffstat (limited to 'pkg/server/grpc_server.go')
-rw-r--r-- | pkg/server/grpc_server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index ae317bb4..b82dc59a 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -589,9 +589,9 @@ func newNeighborFromAPIStruct(a *api.Peer) (*config.Neighbor, error) { } pconf.State.LocalCapabilityList = localCaps pconf.State.RemoteCapabilityList = remoteCaps - } - pconf.State.RemoteRouterId = a.Conf.Id + pconf.State.RemoteRouterId = a.State.RouterId + } for _, af := range a.AfiSafis { afiSafi := config.AfiSafi{} |