git: DragonFly_RELEASE_6_4 dhclient(8): Fix send_packet() to not convert ip_len/ip_off byteorder

Aaron LI aly at crater.dragonflybsd.org
Wed Mar 4 04:06:32 PST 2026


commit 683751a6ca60d9dd39c7c6b8c5fd88b8c2d4b5c3
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/683751a6ca60d9dd39c7c6b8c5fd88b8c2d4b5c3


-- 
DragonFly BSD source repository


More information about the Commits mailing list