summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/l2tp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/l2tp/l2tp.c')
-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 7fb00ef4..071a782a 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);