summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-06 22:11:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-06 22:11:04 +0900
commit25f1152dafdc785352e19d0893aa9007f279045c (patch)
treec6c135e08528739db9024a6d677c35716875d4fd /server/server.go
parent162a6137ac625552c5e248fa36d56edf89ddd06c (diff)
server: remove rf in ServerMsg
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/server.go b/server/server.go
index 3d852cb8..f92a1294 100644
--- a/server/server.go
+++ b/server/server.go
@@ -21,7 +21,6 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/api"
"github.com/osrg/gobgp/config"
- "github.com/osrg/gobgp/packet"
"net"
"os"
"strconv"
@@ -45,7 +44,6 @@ type serverMsg struct {
type serverMsgDataPeer struct {
peerMsgCh chan *peerMsg
address net.IP
- rf bgp.RouteFamily
}
type peerMapInfo struct {
@@ -162,7 +160,6 @@ func (server *BgpServer) Serve() {
d := &serverMsgDataPeer{
address: peer.NeighborAddress,
peerMsgCh: pch,
- rf: p.rf,
}
msg := &serverMsg{
msgType: SRV_MSG_PEER_ADDED,