summaryrefslogtreecommitdiffhomepage
path: root/pkg/server/fsm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/server/fsm_test.go')
-rw-r--r--pkg/server/fsm_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server/fsm_test.go b/pkg/server/fsm_test.go
index dad6563a..e7daa9b6 100644
--- a/pkg/server/fsm_test.go
+++ b/pkg/server/fsm_test.go
@@ -308,8 +308,8 @@ func TestCheckOwnASLoop(t *testing.T) {
assert.False(hasOwnASLoop(65200, 0, aspath))
}
-func makePeerAndHandler() (*Peer, *FSMHandler) {
- p := &Peer{
+func makePeerAndHandler() (*peer, *FSMHandler) {
+ p := &peer{
fsm: NewFSM(&config.Global{}, &config.Neighbor{}, table.NewRoutingPolicy()),
outgoing: channels.NewInfiniteChannel(),
}