summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-03-16 18:55:10 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-03-16 19:34:43 +0900
commitb453122789ec4c6f39e6ceb9900e0e80a6abeb99 (patch)
treeabe88253a80429592099627df734837f1016ed3b /src/network/networkd-network.h
parentf12d19b30447a771ba6dd551ac05a4ba6de2a976 (diff)
downloadsystemd-b453122789ec4c6f39e6ceb9900e0e80a6abeb99.tar.gz
network: add a flag to ignore gateway provided by DHCP server
Closes #15117.
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index f8ecb1f687..6fe87d8915 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -109,6 +109,7 @@ struct Network {
bool dhcp_use_sip;
bool dhcp_use_mtu;
bool dhcp_use_routes;
+ bool dhcp_use_gateway;
bool dhcp_use_timezone;
bool rapid_commit;
bool dhcp_use_hostname;