]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: set both dhcp_route_metric and dhcp6_route_metric by DHCP.RouteMetric= for...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Jun 2020 04:08:43 +0000 (13:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jun 2020 08:05:49 +0000 (17:05 +0900)
commitbdad94d0d6dc14be1dfbbb78c79ce59184a2c3c8
treea7fe56e66b3d00dc449e77e70aecdefad9177f97
parent1bf1bfd9589c0c531847b0cf93bc97699617936e
network: set both dhcp_route_metric and dhcp6_route_metric by DHCP.RouteMetric= for backward compatibility

But [DHCPv4] or [DHCPv6] section take precedence.
This also update so for UseDNS= and UseNTP=.
src/network/networkd-dhcp-common.c
src/network/networkd-dhcp-common.h
src/network/networkd-network-gperf.gperf
src/network/networkd-network.h