summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-05-28 14:00:33 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-05-28 22:28:12 +0900
commitda488beb005f99ab6a82aca1301726e71d60eb50 (patch)
tree72f068d6c81aa7a02b217e9349c0b88710bd3f35 /server/peer.go
parentaef984c85c81af35aa83e334dbd834d214f9a628 (diff)
table: remove unused id in AdjRib strcture
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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 13238e54..1ae83afd 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -117,7 +117,7 @@ func NewPeer(g *config.Global, conf *config.Neighbor, loc *table.TableManager, p
peer.tableId = table.GLOBAL_RIB_NAME
}
rfs, _ := config.AfiSafis(conf.AfiSafis).ToRfList()
- peer.adjRibIn = table.NewAdjRib(peer.ID(), rfs)
+ peer.adjRibIn = table.NewAdjRib(rfs)
return peer
}