diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-02-06 17:29:38 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-06 21:10:05 +0400 |
commit | 2e13e02a408319ba2be3b703fb466d0be4e57d52 (patch) | |
tree | 2bb5874fc6b46b0caa5a53b67fad8c22f42529bc /accel-pppd/ctrl | |
parent | 8f0b44f11982466bcd1fedd94aa1879eb7963663 (diff) | |
download | accel-ppp-2e13e02a408319ba2be3b703fb466d0be4e57d52.tar.gz accel-ppp-2e13e02a408319ba2be3b703fb466d0be4e57d52.zip |
l2tp: Remove unused field "state2" in struct l2tp_sess_t
Since it's not possible to mix incomming and outgoing states in
a session, the "state2" field isn't necessary.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/l2tp/l2tp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c index 66658d9..fb166f9 100644 --- a/accel-pppd/ctrl/l2tp/l2tp.c +++ b/accel-pppd/ctrl/l2tp/l2tp.c @@ -75,7 +75,6 @@ struct l2tp_sess_t uint16_t peer_sid; int state1; - int state2; struct triton_context_t sctx; struct triton_timer_t timeout_timer; @@ -498,7 +497,6 @@ static struct l2tp_sess_t *l2tp_tunnel_alloc_session(struct l2tp_conn_t *conn) sess->paren_conn = conn; sess->peer_sid = 0; sess->state1 = STATE_CLOSE; - sess->state2 = STATE_CLOSE; sess->sctx.before_switch = log_switch; sess->sctx.close = l2tp_sess_close; |