From 82d0c48d48fa54573d1dbdaf7a69da41d8ba87af Mon Sep 17 00:00:00 2001 From: cygnusb Date: Wed, 26 Jan 2022 16:56:20 +0100 Subject: Add missing dhcp end option on dhcp notify packet --- accel-pppd/ctrl/ipoe/dhcpv4.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accel-pppd') diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.c b/accel-pppd/ctrl/ipoe/dhcpv4.c index f1d9c460..a369c8a0 100644 --- a/accel-pppd/ctrl/ipoe/dhcpv4.c +++ b/accel-pppd/ctrl/ipoe/dhcpv4.c @@ -925,6 +925,8 @@ void dhcpv4_send_notify(struct dhcpv4_serv *serv, struct dhcpv4_packet *req, uns dhcpv4_packet_add_opt_u8(pack, 53, DHCPDISCOVER); dhcpv4_packet_add_opt(pack, 43, opt, sizeof(opt)); + *pack->ptr++ = 255; + dhcpv4_send_raw(serv, pack, 0, INADDR_BROADCAST, DHCP_SERV_PORT); dhcpv4_packet_free(pack); -- cgit v1.2.3