diff options
Diffstat (limited to 'server/server_test.go')
-rw-r--r-- | server/server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server_test.go b/server/server_test.go index 9a55f775..57fcfaf1 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -26,7 +26,7 @@ func TestModPolicyAssign(t *testing.T) { assert := assert.New(t) s := NewBgpServer() go s.Serve() - s.SetGlobalType(config.Global{ + s.Start(&config.Global{ Config: config.GlobalConfig{ As: 1, RouterId: "1.1.1.1", |