summaryrefslogtreecommitdiffhomepage
path: root/packet/constant.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/constant.go')
-rw-r--r--packet/constant.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/packet/constant.go b/packet/constant.go
index 65101dc1..ac270cad 100644
--- a/packet/constant.go
+++ b/packet/constant.go
@@ -27,8 +27,7 @@ const BGP_PORT = 179
type FSMState int
const (
- _ FSMState = iota
- BGP_FSM_IDLE
+ BGP_FSM_IDLE FSMState = iota
BGP_FSM_CONNECT
BGP_FSM_ACTIVE
BGP_FSM_OPENSENT