From 5c1d3fc93d91384bbac29adf01074fa4375317ea Mon Sep 17 00:00:00 2001 From: Umut Tezduyar Lindskog Date: Fri, 28 Feb 2014 16:10:20 +0100 Subject: sd-network: IPv4 link-local support [v2] Implements IPv4LL with respect to RFC 3927 (http://tools.ietf.org/rfc/rfc3927.txt) and integrates it with networkd. Majority of the IPv4LL state machine is taken from avahi (http://avahi.org/) project's autoip. IPv4LL can be enabled by IPv4LL=yes under [Network] section of .network file. IPv4LL works independent of DHCP but if DHCP lease is aquired, then LL address will be dropped. [tomegun: removed a trailing newline and a compiler warning] --- src/network/networkd-network-gperf.gperf | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/networkd-network-gperf.gperf') diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf index 6cc186f2a3..7e3829a4a1 100644 --- a/src/network/networkd-network-gperf.gperf +++ b/src/network/networkd-network-gperf.gperf @@ -30,6 +30,7 @@ Network.Bond, config_parse_bond, 0, Network.VLAN, config_parse_vlan, 0, offsetof(Network, vlans) Network.MACVLAN, config_parse_macvlan, 0, offsetof(Network, macvlans) Network.DHCP, config_parse_bool, 0, offsetof(Network, dhcp) +Network.IPv4LL, config_parse_bool, 0, offsetof(Network, ipv4ll) Network.Address, config_parse_address, 0, 0 Network.Gateway, config_parse_gateway, 0, 0 Network.DNS, config_parse_dns, 0, offsetof(Network, dns) -- cgit v1.2.3-54-g00ecf