]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
dhcp: get_option_uint* only accept options with correct len (#357)
authortaoyl-g <153713953+taoyl-g@users.noreply.github.com>
Thu, 5 Sep 2024 13:14:25 +0000 (22:14 +0900)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2024 13:14:25 +0000 (14:14 +0100)
commit72a26282768ee8aa541809e2a260cec20f89af62
tree2909b0e0de54332888c33414af337be025bc1664
parent82e16d16bf2372cd20c55bd07fea5f1bb405a936
dhcp: get_option_uint* only accept options with correct len (#357)

RFC8925 mentions "The client MUST ignore the IPv6-Only Preferred option
if the length field value is not 4."
src/dhcp.c