diff options
author | cygnusb <cygnusb@users.noreply.github.com> | 2022-01-26 16:56:20 +0100 |
---|---|---|
committer | Dr. Torge Valerius <t.valerius@cygnusnetworks.de> | 2022-05-09 15:33:38 +0200 |
commit | 82d0c48d48fa54573d1dbdaf7a69da41d8ba87af (patch) | |
tree | 8502f3b5302ef4b1f995b25ce175ce8fcf628f1a /accel-pppd | |
parent | b75f468e3a366837fdb139dd772eb856b293fbec (diff) | |
download | accel-ppp-82d0c48d48fa54573d1dbdaf7a69da41d8ba87af.tar.gz accel-ppp-82d0c48d48fa54573d1dbdaf7a69da41d8ba87af.zip |
Add missing dhcp end option on dhcp notify packet
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/ipoe/dhcpv4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.c b/accel-pppd/ctrl/ipoe/dhcpv4.c index f1d9c46..a369c8a 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); |