summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/grpc_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/grpc_server.go')
-rw-r--r--pkg/server/grpc_server.go3
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