diff options
author | Tom Gundersen <teg@jklm.no> | 2014-01-01 15:16:34 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-01-01 16:26:27 +0100 |
commit | f5be560181d092c5f52a2b819aedcd48220f36ab (patch) | |
tree | 85f5c8da87d1b88bb3a2b5b4d76bd2609a03d80f /src/network/networkd-gperf.gperf | |
parent | f048a16b464295a4e0a4f4c1210f06343ad31231 (diff) |
networkd: add DHCPv4 support
This adds basic DHCPv4 support. Link-sense is enabled unconditionally,
but the plan is to make that configurable.
I tested this in a VM with lots of NICs and over wifi in the various
coffee shops I found this Christmas, but more testing would definitely
be appreciated.
Diffstat (limited to 'src/network/networkd-gperf.gperf')
-rw-r--r-- | src/network/networkd-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf index f710df6bf6..f1594d56c9 100644 --- a/src/network/networkd-gperf.gperf +++ b/src/network/networkd-gperf.gperf @@ -22,6 +22,7 @@ Match.Type, config_parse_string, 0, offsetof(Networ Match.Name, config_parse_ifname, 0, offsetof(Network, match_name) Network.Description, config_parse_string, 0, offsetof(Network, description) Network.Bridge, config_parse_bridge, 0, offsetof(Network, bridge) +Network.DHCP, config_parse_bool, 0, offsetof(Network, dhcp) Network.Address, config_parse_address, 0, 0 Network.Gateway, config_parse_gateway, 0, 0 Address.Address, config_parse_address, 0, 0 |