summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2011-08-29 11:32:09 +0400
committerKozlov Dmitry <xeb@mail.ru>2011-08-29 11:38:19 +0400
commite01fbff3f78b82b69775b127b594de1757db5914 (patch)
tree0d4ff2a0ab1694d2a5d8c7215ef980db68c7d715 /accel-pppd/ppp
parent799db65ebf7aaab83bdac467e1425568b554fb2a (diff)
downloadaccel-ppp-xebd-e01fbff3f78b82b69775b127b594de1757db5914.tar.gz
accel-ppp-xebd-e01fbff3f78b82b69775b127b594de1757db5914.zip
fix incorrect ppp_terminate calls
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c
index e6d9788..2836f7c 100644
--- a/accel-pppd/ppp/ppp.c
+++ b/accel-pppd/ppp/ppp.c
@@ -297,7 +297,7 @@ cont:
//printf("ppp_chan_read: ");
//print_buf(ppp->buf,ppp->buf_size);
if (ppp->buf_size == 0) {
- ppp_terminate(ppp, 1, TERM_NAS_ERROR);
+ ppp_terminate(ppp, TERM_NAS_ERROR, 1);
return 1;
}
@@ -343,7 +343,7 @@ cont:
//print_buf(ppp->buf,ppp->buf_size);
if (ppp->buf_size == 0) {
- ppp_terminate(ppp, 1, TERM_NAS_ERROR);
+ ppp_terminate(ppp, TERM_NAS_ERROR, 1);
return 1;
}