chiark / gitweb /
networkd: ipv4ll - configure link-local address independently of DHCPv4
authorTom Gundersen <teg@jklm.no>
Thu, 24 Jul 2014 23:13:47 +0000 (01:13 +0200)
committerTom Gundersen <teg@jklm.no>
Wed, 30 Jul 2014 15:45:47 +0000 (17:45 +0200)
commitba17915457271cc13d46cbafc876277d037acd67
treea76a38fc688195537fa226ebd9950da099226f09
parent3f77a1b19f5a8ce33566f7f6e28e94c08ea30841
networkd: ipv4ll - configure link-local address independently of DHCPv4

This changes the behavior when both DHCPv4 and IPv4LL are enabled. Before,
we would disable IPv4LL when we got a DHCPv4 lease and enable it if the
lease was lost.

Now we just always set up both, if both are enabled, but the DHCPv4
addresses and routes will always take precedence due to their metric
and scope.
man/systemd.network.xml
src/network/networkd-link.c