提交 4dcf5bc8 编写于 作者: G Guillaume Nault 提交者: Kozlov Dmitry

l2tp: Avoid sending CDN with reserved result value

Update call to l2tp_send_CDN() to avoid using the 0 result code
(reserved by RFC 2661).
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
上级 03b5f8b8
......@@ -1196,8 +1196,8 @@ static int l2tp_recv_ICRQ(struct l2tp_conn_t *conn, struct l2tp_packet_t *pack)
if (!assigned_sid) {
if (conf_verbose)
log_ppp_warn("l2tp: ICRQ: no Assigned-Session-ID attribute present in message\n");
res = 0;
err = 0;
res = 2;
err = 6;
goto out_reject;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册