network: fix offset of preference in backward compat option

Fixes a bug introduced by a10d6e0124.

Fixes oss-fuzz#391916479 (https://issues.oss-fuzz.com/issues/391916479).
Fixes #36172.
This commit is contained in:
Yu Watanabe
2025-01-26 11:09:04 +09:00
parent ff83795469
commit ba0266b376
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -599,7 +599,7 @@ Network.DHCPv6PrefixDelegation, config_parse_tristate,
IPv6PrefixDelegation.RouterLifetimeSec, config_parse_sec, 0, offsetof(Network, router_lifetime_usec)
IPv6PrefixDelegation.Managed, config_parse_bool, 0, offsetof(Network, router_managed)
IPv6PrefixDelegation.OtherInformation, config_parse_bool, 0, offsetof(Network, router_other_information)
IPv6PrefixDelegation.RouterPreference, config_parse_router_preference, 0, 0
IPv6PrefixDelegation.RouterPreference, config_parse_router_preference, 0, offsetof(Network, router_preference)
IPv6PrefixDelegation.EmitDNS, config_parse_bool, 0, offsetof(Network, router_emit_dns)
IPv6PrefixDelegation.DNS, config_parse_radv_dns, 0, 0
IPv6PrefixDelegation.EmitDomains, config_parse_bool, 0, offsetof(Network, router_emit_domains)
Binary file not shown.