git: dhclient(8): Fix send_packet() to not convert ip_len/ip_off byteorder
Aaron LI
aly at crater.dragonflybsd.org
Wed Mar 4 04:05:54 PST 2026
commit 500b5a7c1eadd67a3ac9965cac97cc1bcf4baf5c
Author: Aaron LI <aly at aaronly.me>
Date: Wed Mar 4 20:02:13 2026 +0800
dhclient(8): Fix send_packet() to not convert ip_len/ip_off byteorder
After commit 2ba12c9ccce24e5186e60a8be059faf55cd27e21, kernel requires
the 'ip_len' and 'ip_off' fields in the network byte order.
This fixes the 'send_packet: Invalid argument' error appeared upon lease
renewal.
This reverts commit c02c89a76ecc16d518c56d610e571018048a43dd .
Summary of changes:
sbin/dhclient/bpf.c | 9 ---------
1 file changed, 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/500b5a7c1eadd67a3ac9965cac97cc1bcf4baf5c
--
DragonFly BSD source repository
More information about the Commits
mailing list