summaryrefslogtreecommitdiffhomepage
path: root/server/fsm.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/fsm.go')
-rw-r--r--server/fsm.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/fsm.go b/server/fsm.go
index 76ed85a6..de64a7fa 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -110,11 +110,11 @@ func (fsm *FSM) PeerInfoGet() *table.PeerInfo {
}
func (fsm *FSM) createPeerInfo() {
- var rf table.RouteFamily
+ var rf bgp.RouteFamily
if fsm.peerConfig.NeighborAddress.To4() != nil {
- rf = table.RF_IPv4_UC
+ rf = bgp.RF_IPv4_UC
} else {
- rf = table.RF_IPv6_UC
+ rf = bgp.RF_IPv6_UC
}
fsm.peerInfo = &table.PeerInfo{