]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
DHCP: In the IP header set TTL of 128 and TOS to low delay dhcp_ip
authorRoy Marples <roy@marples.name>
Thu, 19 Jun 2025 10:28:58 +0000 (11:28 +0100)
committerRoy Marples <roy@marples.name>
Thu, 19 Jun 2025 10:28:58 +0000 (11:28 +0100)
commit2c2058b02e94ef6d2306c4108c8c7d705747e5cc
treefc10ba49f62cb08c869e2ef28fc1e79585c8d641
parent226a68edb9ac8b8178378e069eee82f6366ee329
DHCP: In the IP header set TTL of 128 and TOS to low delay

And set ID to zero because DHCP cannot be fragmented and the
ID is only for re-assembly of fragmented packets.

This matches the behaviour of other DHCP clients.

Fixes #511
src/dhcp.c
src/dhcp.h