diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-08 09:35:34 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-09-14 17:51:19 +0900 |
commit | e47bcb7d0b2cb07c5c594e374baeb061bb7f88ba (patch) | |
tree | 8d4673cf5b281a64f3f5f6d88382df512a3d33db /src/network/networkd-dhcp4.c | |
parent | 967e6a64035df48a5449b5b11bf5fd88ed478954 (diff) | |
download | systemd-e47bcb7d0b2cb07c5c594e374baeb061bb7f88ba.tar.gz |
network: do not use RouteTable= in [DHCPv4] section for DHCPv6 routes
We forgot to add RouteTable= in [DHCPv6] section when we split [DHCP]
into two.
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r-- | src/network/networkd-dhcp4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c index d38c429bd9..247416a750 100644 --- a/src/network/networkd-dhcp4.c +++ b/src/network/networkd-dhcp4.c @@ -211,7 +211,7 @@ static int dhcp4_request_route(Route *in, Link *link) { if (!route->priority_set) route->priority = link->network->dhcp_route_metric; if (!route->table_set) - route->table = link_get_dhcp_route_table(link); + route->table = link_get_dhcp4_route_table(link); if (route->mtu == 0) route->mtu = link->network->dhcp_route_mtu; |