diff options
Diffstat (limited to 'server/peer.go')
-rw-r--r-- | server/peer.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/peer.go b/server/peer.go index 81e7f1f8..ac3c2409 100644 --- a/server/peer.go +++ b/server/peer.go @@ -63,6 +63,14 @@ func NewPeer(g config.Global, conf config.Neighbor, loc *table.TableManager) *Pe return peer } +func (peer *Peer) Fsm() *FSM { + return peer.fsm +} + +func (peer *Peer) Outgoing() chan *bgp.BGPMessage { + return peer.outgoing +} + func (peer *Peer) isIBGPPeer() bool { return peer.conf.NeighborConfig.PeerAs == peer.gConf.GlobalConfig.As } |