l2tpd_packet: add missing AVP ResultError for STOP_CCN

This commit is contained in:
Alexander Couzens 2016-10-30 21:07:58 +01:00
parent c9b24084f4
commit 44749b1dfe
1 changed files with 1 additions and 0 deletions

View File

@ -352,6 +352,7 @@ int l2tp_tx_stop_ccn(struct l2tpd_connection *l2c)
msgb_avp_put_msgt(msg, VENDOR_IETF, IETF_CTRLMSG_STOPCCN);
msgb_avp_put_digest(msg);
msgb_avp_put_u16(msg, VENDOR_IETF, AVP_IETF_RESULT_CODE, 0x1, 1);
msg->dst = l2c;
return l2tp_msgb_tx(msg, 1);