From c806da563e97da617402ca79b2b1df91cf2bdce5 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Tue, 8 Dec 2015 16:19:38 -0800 Subject: table: remove useless table owner member Signed-off-by: FUJITA Tomonori --- test/performance_test/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/performance_test/main.go b/test/performance_test/main.go index b7c92a94..b439c9a8 100644 --- a/test/performance_test/main.go +++ b/test/performance_test/main.go @@ -30,7 +30,7 @@ import ( ) func newPeer(g config.Global, p config.Neighbor, incoming chan *server.FsmMsg) *server.Peer { - tbl := table.NewTableManager(g.GlobalConfig.RouterId.String(), []bgp.RouteFamily{bgp.RF_IPv4_UC, bgp.RF_IPv6_UC}, 0, 0) + tbl := table.NewTableManager([]bgp.RouteFamily{bgp.RF_IPv4_UC, bgp.RF_IPv6_UC}, 0, 0) peer := server.NewPeer(g, p, tbl, table.NewRoutingPolicy()) server.NewFSMHandler(peer.Fsm(), incoming, peer.Outgoing()) return peer -- cgit v1.2.3