summaryrefslogtreecommitdiffhomepage
path: root/server/peer.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-08 22:05:35 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-08 22:05:35 +0900
commit856fcbd7bdbb25c5fd7cbe6bfa23246323aa5511 (patch)
tree71fd697ac5dd904f201e81d025f87ecada7c91f1 /server/peer.go
parent1c982d8336c9d89732e8a481a8c90b3e7e283f6f (diff)
server: adj-in/out supports route families rather than v4/v6
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 5bf990de..09c991e6 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -92,7 +92,7 @@ func NewPeer(g config.Global, peer config.Neighbor, serverMsgCh chan *serverMsg,
LocalID: g.RouterId,
Address: peer.NeighborAddress,
}
- p.adjRib = table.NewAdjRib()
+ p.adjRib = table.NewAdjRib(rfList)
p.rib = table.NewTableManager(p.peerConfig.NeighborAddress.String(), rfList)
p.t.Go(p.loop)
return p