From a3c1e53deda9f9834994751382f64827c14a9c32 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sat, 27 Dec 2014 06:58:50 -0800 Subject: RouteFamily cleanup RouteFamily is defined in two files. Signed-off-by: FUJITA Tomonori --- server/fsm.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/fsm.go') 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{ -- cgit v1.2.3