summaryrefslogtreecommitdiffhomepage
path: root/server/fsm.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/fsm.go')
-rw-r--r--server/fsm.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/fsm.go b/server/fsm.go
index 8a8748a5..a18901a5 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -85,7 +85,6 @@ const (
type FsmMsg struct {
MsgType FsmMsgType
MsgSrc string
- MsgDst string
MsgData interface{}
PathList []*table.Path
timestamp time.Time
@@ -563,7 +562,6 @@ func (h *FSMHandler) recvMessageWithError() error {
h.msgCh <- &FsmMsg{
MsgType: FSM_MSG_BGP_MESSAGE,
MsgSrc: h.fsm.pConf.Config.NeighborAddress,
- MsgDst: h.fsm.pConf.Transport.Config.LocalAddress,
MsgData: err,
}
return err
@@ -586,7 +584,6 @@ func (h *FSMHandler) recvMessageWithError() error {
fmsg := &FsmMsg{
MsgType: FSM_MSG_BGP_MESSAGE,
MsgSrc: h.fsm.pConf.Config.NeighborAddress,
- MsgDst: h.fsm.pConf.Transport.Config.LocalAddress,
timestamp: now,
}
if err != nil {
@@ -1186,7 +1183,6 @@ func (h *FSMHandler) loop() error {
e := &FsmMsg{
MsgType: FSM_MSG_STATE_CHANGE,
MsgSrc: fsm.pConf.Config.NeighborAddress,
- MsgDst: fsm.pConf.Transport.Config.LocalAddress,
MsgData: nextState,
}
h.stateCh <- e