summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index e018e5b0..3b2e3f2c 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -1822,12 +1822,6 @@ static int l2tp_send_ICCN(struct l2tp_sess_t *sess)
return -1;
}
- if (l2tp_packet_add_int16(pack, Assigned_Session_ID,
- sess->sid, 1) < 0) {
- log_session(log_error, sess, "impossible to send ICCN:"
- " adding data to packet failed\n");
- goto out_err;
- }
if (l2tp_packet_add_int32(pack, TX_Speed, 1000, 1) < 0) {
log_session(log_error, sess, "impossible to send ICCN:"
" adding data to packet failed\n");