Avoid warning
The restart code is indeed only needed for reset cases, any other case doesn't need anything there.
This commit is contained in:
parent
92733074db
commit
7623522726
1 changed files with 3 additions and 0 deletions
3
l2tpns.h
3
l2tpns.h
|
|
@ -207,6 +207,9 @@ enum {
|
||||||
case Opened: \
|
case Opened: \
|
||||||
sess_local[_s]._fsm.restart = 0; \
|
sess_local[_s]._fsm.restart = 0; \
|
||||||
initialise_restart_count(_s, _fsm); \
|
initialise_restart_count(_s, _fsm); \
|
||||||
|
break; \
|
||||||
|
default: \
|
||||||
|
break; \
|
||||||
} \
|
} \
|
||||||
session[_s].ppp._fsm = _new; \
|
session[_s].ppp._fsm = _new; \
|
||||||
cluster_send_session(_s); \
|
cluster_send_session(_s); \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue