diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-24 23:05:50 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-11-26 17:49:48 +0900 |
commit | 301b48532d4a5510c9d4ffdc44eb2754fdd1a3d1 (patch) | |
tree | 28aef2b5ef206121c745b304636d8f6abfedce8b /pkg/server/grpc_server.go | |
parent | a5763c20d4ab411a3d6375cad32c8c8255c43a64 (diff) |
support received, accepted, and advertised counters per family
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'pkg/server/grpc_server.go')
-rw-r--r-- | pkg/server/grpc_server.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/server/grpc_server.go b/pkg/server/grpc_server.go index 4f1e4df6..6bc68011 100644 --- a/pkg/server/grpc_server.go +++ b/pkg/server/grpc_server.go @@ -651,9 +651,6 @@ func newNeighborFromAPIStruct(a *api.Peer) (*config.Neighbor, error) { pconf.State.SessionState = config.SessionState(strings.ToUpper(string(a.State.SessionState))) pconf.State.AdminState = config.IntToAdminStateMap[int(a.State.AdminState)] - pconf.State.AdjTable.Received = a.State.Received - pconf.State.AdjTable.Accepted = a.State.Accepted - pconf.State.AdjTable.Advertised = a.State.Advertised pconf.State.PeerAs = a.State.PeerAs pconf.State.PeerType = config.IntToPeerTypeMap[int(a.State.PeerType)] pconf.State.NeighborAddress = a.State.NeighborAddress |