summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/peer.go b/server/peer.go
index d27f96e6..f239033a 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -394,7 +394,7 @@ func (peer *Peer) ToConfig() *config.Neighbor {
}
conf.State.Capabilities.LocalList = localCap
- conf.State.Description = peer.fsm.peerInfo.ID.To4().String()
+ conf.State.RemoteRouterId = peer.fsm.peerInfo.ID.To4().String()
conf.State.SessionState = config.IntToSessionStateMap[int(peer.fsm.state)]
conf.State.AdminState = peer.fsm.adminState.String()