summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-13 21:28:53 +0100
committerTom Gundersen <teg@jklm.no>2014-01-13 21:54:57 +0100
commit5be4d38e31281727b6f45ae869136bb01a1f7790 (patch)
tree13b707ff2040872ef6c4fde4d8de636f02185ef4 /src/network/networkd.h
parent5681d7fb8be37771c152d21ea6e95597d664e3f1 (diff)
networkd: DHCPv4 - allow opting out of using DNS servers
Setting UseDNS=no will ignore any received DNS servers.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 607feba0e7..26d7f6baa6 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -85,6 +85,7 @@ struct Network {
char *description;
Bridge *bridge;
bool dhcp;
+ bool dhcp_dns;
LIST_HEAD(Address, static_addresses);
LIST_HEAD(Route, static_routes);