diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-11 21:02:55 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-12 00:12:48 +0400 |
commit | c7a7743845a5d00f4609e7a61e6261564e2c3acf (patch) | |
tree | d9a9c7759fd2415a90f11c156446ebf67dd3be3e /accel-pppd | |
parent | 99fc06cba8a870942871d356077fba788455c91f (diff) | |
download | accel-ppp-c7a7743845a5d00f4609e7a61e6261564e2c3acf.tar.gz accel-ppp-c7a7743845a5d00f4609e7a61e6261564e2c3acf.zip |
l2tp: Add WAIT_SCCRP state
Define STATE_WAIT_SCCRP which will be required for creating new tunnels
on behalf of the host. This state will be entered right after sending
an SCCRQ message.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/l2tp/l2tp.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c index f751223..2102826 100644 --- a/accel-pppd/ctrl/l2tp/l2tp.c +++ b/accel-pppd/ctrl/l2tp/l2tp.c @@ -37,14 +37,15 @@ #define SOL_PPPOL2TP 273 #endif -#define STATE_WAIT_SCCCN 1 -#define STATE_WAIT_ICRQ 2 -#define STATE_WAIT_ICCN 3 -#define STATE_WAIT_OCRP 4 -#define STATE_WAIT_OCCN 5 -#define STATE_ESTB 6 -#define STATE_PPP 7 -#define STATE_FIN 8 +#define STATE_WAIT_SCCRP 1 +#define STATE_WAIT_SCCCN 2 +#define STATE_WAIT_ICRQ 3 +#define STATE_WAIT_ICCN 4 +#define STATE_WAIT_OCRP 5 +#define STATE_WAIT_OCCN 6 +#define STATE_ESTB 7 +#define STATE_PPP 8 +#define STATE_FIN 9 #define STATE_CLOSE 0 int conf_verbose = 0; |