summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-11-02 13:47:00 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-11-02 13:47:00 +0900
commit5cb6eff3351c224f1a97ed11b4bdc0853d2300cf (patch)
tree71af5a76771be14f5207baea40f4b375eccf90dc /server/peer.go
parent23c9b35acfb6fffe9c6a3cbda91a7857497f9385 (diff)
server: fix lacking capability fields
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/peer.go')
-rw-r--r--server/peer.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/peer.go b/server/peer.go
index 26158a1e..f3f25ddc 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -308,6 +308,8 @@ func (peer *Peer) ToApiStruct() *api.Peer {
SendCommunity: uint32(c.NeighborConfig.SendCommunity),
Description: c.NeighborConfig.Description,
PeerGroup: c.NeighborConfig.PeerGroup,
+ RemoteCap: remoteCap,
+ LocalCap: localCap,
}
timer := &c.Timers