diff options
Diffstat (limited to 'test')
-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 |