diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-12-08 16:19:38 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-12-08 16:19:38 -0800 |
commit | c806da563e97da617402ca79b2b1df91cf2bdce5 (patch) | |
tree | ee19b34c86c33cea26a27fc9cc7a7455611b1009 /test/performance_test/main.go | |
parent | c704e1eafa6c9e4cd1ebaa7612ed31d2f6a0c0bd (diff) |
table: remove useless table owner member
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/performance_test/main.go')
-rw-r--r-- | test/performance_test/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |