diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-02 13:47:00 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-11-02 13:47:00 +0900 |
commit | 5cb6eff3351c224f1a97ed11b4bdc0853d2300cf (patch) | |
tree | 71af5a76771be14f5207baea40f4b375eccf90dc | |
parent | 23c9b35acfb6fffe9c6a3cbda91a7857497f9385 (diff) |
server: fix lacking capability fields
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-rw-r--r-- | server/peer.go | 2 |
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 |