summaryrefslogtreecommitdiffhomepage
path: root/server/fsm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/fsm_test.go')
-rw-r--r--server/fsm_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go
index b5618edd..4eb907f3 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -289,9 +289,8 @@ func makePeerAndHandler() (*Peer, *FSMHandler) {
pConf := config.Neighbor{}
p := &Peer{
- gConf: gConf,
- conf: pConf,
- capMap: make(map[bgp.BGPCapabilityCode][]bgp.ParameterCapabilityInterface),
+ gConf: gConf,
+ conf: pConf,
}
p.fsm = NewFSM(&gConf, &pConf, table.NewRoutingPolicy())