summaryrefslogtreecommitdiffhomepage
path: root/server/fsm.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-19 22:53:23 -0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-02-19 22:53:23 -0800
commit630108264838c7f9984d578ffe7390f7f701c355 (patch)
treea605eaafa1f8dd977da33344f6fa293c952d31c7 /server/fsm.go
parent9b28f7d5caa24506f44adb765276960cb3a500f5 (diff)
fsm: remove MsgDst
No user any more. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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