summaryrefslogtreecommitdiff
path: root/accel-pptpd
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-12-23 20:24:42 +0300
committerDmitry Kozlov <xeb@mail.ru>2010-12-23 20:24:42 +0300
commitbe65cd225bb615f5f6c1c6199a853c9018079c83 (patch)
tree4e0ed4080075a601bd1433270be2ba73ad2d7cb9 /accel-pptpd
parent3ca8c684ec61d90169321bb8914f9a2e26a6d99c (diff)
downloadaccel-ppp-be65cd225bb615f5f6c1c6199a853c9018079c83.tar.gz
accel-ppp-be65cd225bb615f5f6c1c6199a853c9018079c83.zip
ppp: don't increment id on retransmit
Diffstat (limited to 'accel-pptpd')
-rw-r--r--accel-pptpd/ppp/ppp_fsm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ppp_fsm.c b/accel-pptpd/ppp/ppp_fsm.c
index 24e914f..6daf42c 100644
--- a/accel-pptpd/ppp/ppp_fsm.c
+++ b/accel-pptpd/ppp/ppp_fsm.c
@@ -167,6 +167,7 @@ void ppp_fsm_timeout0(struct ppp_fsm_t *layer)
case FSM_Req_Sent:
case FSM_Ack_Sent:
--layer->restart_counter;
+ --layer->id;
if (layer->send_conf_req) layer->send_conf_req(layer);
break;
default: