diff options
author | Carl Baldwin <carl@ecbaldwin.net> | 2019-10-11 14:25:08 -0600 |
---|---|---|
committer | Carl Baldwin <carl@ecbaldwin.net> | 2019-10-11 17:28:15 -0600 |
commit | ea87564b5b5d332ab48b6619c4a365559111e2c9 (patch) | |
tree | 5244bb4503ee2d299ef4930957472690edbb5c3e /pkg/server/peer.go | |
parent | 1c8da637d4d730b268becb6b87efadc5c0872f53 (diff) |
Remove policy from FSM
The `policy` member of fsm is apparently never used. Clean it up to
avoid confusion. Policy is still set on the server and peers.
Diffstat (limited to 'pkg/server/peer.go')
-rw-r--r-- | pkg/server/peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/server/peer.go b/pkg/server/peer.go index a7843f49..c213a9ea 100644 --- a/pkg/server/peer.go +++ b/pkg/server/peer.go @@ -106,7 +106,7 @@ func newPeer(g *config.Global, conf *config.Neighbor, loc *table.TableManager, p peer := &peer{ localRib: loc, policy: policy, - fsm: newFSM(g, conf, policy), + fsm: newFSM(g, conf), prefixLimitWarned: make(map[bgp.RouteFamily]bool), } if peer.isRouteServerClient() { |