NX won't send any IPCP requests until CCP negotiation is completed.
Since we don't want to implement compression for now (or ever), reject
unknown protocols with an LCP Protocol-Reject (cf. RFC 1661, ch. 5.7).
Signed-off-by: Andreas Gnau <rondom@rondom.de>
_("PPP packet with unknown protocol 0x%04x. Payload:\n"),
proto);
dump_buf_hex(vpninfo, PRG_ERR, '<', pp, payload_len);
- return 1;
+ if (queue_config_packet(vpninfo, PPP_LCP, ++ppp->lcp.id, PROTREJ, payload_len + (pp - ph), ph))
+ vpn_progress(vpninfo, PRG_ERR,
+ _("Failed queuing Protocol-Reject for unknown protocol 0x%04x.\n"), proto);
}
if (next_len) {