From: Brendan O'Dea Date: Fri, 12 Aug 2005 14:12:28 +0000 (+0000) Subject: fix nak increment X-Git-Tag: 2.2.1-2fdn3.1~19^2^2~1^2~124 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/660b4d800e53853f8c610624138072e963121fe3?ds=inline fix nak increment --- diff --git a/ppp.c b/ppp.c index 630ca59..340151b 100644 --- a/ppp.c +++ b/ppp.c @@ -1,6 +1,6 @@ // L2TPNS PPP Stuff -char const *cvs_id_ppp = "$Id: ppp.c,v 1.72 2005-08-12 08:18:46 bodea Exp $"; +char const *cvs_id_ppp = "$Id: ppp.c,v 1.73 2005-08-12 14:12:28 bodea Exp $"; #include #include @@ -427,7 +427,7 @@ static uint8_t *ppp_nak(sessionidt s, uint8_t *buf, size_t blen, uint16_t mtype, if (!queued) return 0; - *nak_sent++; + (*nak_sent)++; *queued = ConfigNak; queued += 4; }