chiark / gitweb /
networkd: DHCPv4 - allow opting out of using DNS servers
[elogind.git] / src / network / networkd-gperf.gperf
index f1594d56c98dc41d495a4a4d05fbd6533a3a92f5..3e20681c30817c6a0fa441b38eb521f600376bc5 100644 (file)
@@ -25,9 +25,11 @@ Network.Bridge,          config_parse_bridge,           0,       offsetof(Networ
 Network.DHCP,            config_parse_bool,             0,       offsetof(Network, dhcp)
 Network.Address,         config_parse_address,          0,       0
 Network.Gateway,         config_parse_gateway,          0,       0
+Network.DNS,             config_parse_dns,              0,       offsetof(Network, dns)
 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)