summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-09-08 09:35:34 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-09-14 17:51:19 +0900
commite47bcb7d0b2cb07c5c594e374baeb061bb7f88ba (patch)
tree8d4673cf5b281a64f3f5f6d88382df512a3d33db /src/network/networkd-network.h
parent967e6a64035df48a5449b5b11bf5fd88ed478954 (diff)
downloadsystemd-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-network.h')
-rw-r--r--src/network/networkd-network.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index 81d484ce53..40a52797a6 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -135,6 +135,8 @@ struct Network {
uint32_t dhcp_route_metric;
bool dhcp_route_metric_set;
uint32_t dhcp_route_table;
+ bool dhcp_route_table_set;
+ bool dhcp_route_table_set_explicitly;
uint32_t dhcp_fallback_lease_lifetime;
uint32_t dhcp_route_mtu;
uint16_t dhcp_client_port;
@@ -155,7 +157,6 @@ struct Network {
int dhcp_use_gateway;
bool dhcp_use_timezone;
bool dhcp_use_hostname;
- bool dhcp_route_table_set;
bool dhcp_send_release;
bool dhcp_send_decline;
DHCPUseDomains dhcp_use_domains;
@@ -174,6 +175,9 @@ struct Network {
bool dhcp6_use_ntp;
bool dhcp6_use_ntp_set;
bool dhcp6_rapid_commit;
+ bool dhcp6_route_table;
+ bool dhcp6_route_table_set;
+ bool dhcp6_route_table_set_explicitly;
DHCPUseDomains dhcp6_use_domains;
bool dhcp6_use_domains_set;
uint32_t dhcp6_iaid;