diff options
-rw-r--r-- | server/fsm.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/server/fsm.go b/server/fsm.go index 209cb2d2..5d42cdd1 100644 --- a/server/fsm.go +++ b/server/fsm.go @@ -1277,13 +1277,18 @@ func (h *FSMHandler) changeAdminState(s AdminState) error { "Key": fsm.pConf.Config.NeighborAddress, "State": fsm.state, }).Info("Administrative start") - - case ADMIN_STATE_DOWN, ADMIN_STATE_PFX_CT: + case ADMIN_STATE_DOWN: log.WithFields(log.Fields{ "Topic": "Peer", "Key": fsm.pConf.Config.NeighborAddress, "State": fsm.state, }).Info("Administrative shutdown") + case ADMIN_STATE_PFX_CT: + log.WithFields(log.Fields{ + "Topic": "Peer", + "Key": fsm.pConf.Config.NeighborAddress, + "State": fsm.state, + }).Info("Administrative shutdown(Prefix limit reached)") } } else { |