summaryrefslogtreecommitdiff
path: root/src/network/networkd-gperf.gperf
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-gperf.gperf
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-gperf.gperf')
-rw-r--r--src/network/networkd-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf
index 92954a8365..3e20681c30 100644
--- a/src/network/networkd-gperf.gperf
+++ b/src/network/networkd-gperf.gperf
@@ -30,5 +30,6 @@ Address.Address, config_parse_address, 0, 0
Address.Label, config_parse_label, 0, 0
Route.Gateway, config_parse_gateway, 0, 0
Route.Destination, config_parse_destination, 0, 0
+DHCPv4.UseDNS, config_parse_bool, 0, offsetof(Network, dhcp_dns)
Bridge.Description, config_parse_string, 0, offsetof(Bridge, description)
Bridge.Name, config_parse_ifname, 0, offsetof(Bridge, name)