network/dhcp-pd: use correct flag when DHCPv4 6rd is enabled
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Nov 2023 17:39:33 +0000 (02:39 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Nov 2023 18:30:34 +0000 (03:30 +0900)
commit706cd859370b118c3267643e73890c416ff91d9f
tree30659697a8e8eb4415b29881510c706990035dd5
parentf3066d635ab97b414ee5c0cf6753406dc457e889
network/dhcp-pd: use correct flag when DHCPv4 6rd is enabled

Previously, Link.dhcp6_configured flag was unconditionally used even if
the route is configured based on the DHCPv4 protocol.

Follow-up for a27588d4e7f780243a1828e2af56562f9d779412 and
e49bad0179cb670edeac12ef062887af0ac4c8c5.
src/network/networkd-dhcp-prefix-delegation.c
src/network/networkd-link.h