summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2012-11-15 14:21:35 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-01-24 23:51:33 +0400
commit45026d43f6cfbe0f6efa446b47629cb948db5a9d (patch)
treebe206f8519ba8169f7ca8e87f0cfc66b63ef9a74 /accel-pppd/ctrl
parent227298572c50013225752ff3af13ffc724d26ddf (diff)
downloadaccel-ppp-xebd-45026d43f6cfbe0f6efa446b47629cb948db5a9d.tar.gz
accel-ppp-xebd-45026d43f6cfbe0f6efa446b47629cb948db5a9d.zip
merge upstream
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index 7fb00ef..071a782 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -1318,7 +1318,7 @@ static int l2tp_conn_read(struct triton_md_handler_t *h)
log_debug("duplicate packet %i\n", ntohs(pack->hdr.Ns));
if (!list_empty(&conn->send_queue))
l2tp_retransmit(conn);
- if (l2tp_send_ZLB(conn))
+ else if (l2tp_send_ZLB(conn))
goto drop;
} else {
l2tp_conn_log(log_debug, conn);