networkd: Drop IPv6LL address when link is down
authorSusant Sahani <ssahani@redhat.com>
Wed, 18 May 2016 12:49:40 +0000 (18:19 +0530)
committerSusant Sahani <ssahani@redhat.com>
Wed, 18 May 2016 12:49:40 +0000 (18:19 +0530)
commitf150100ad43125682cfd01da4cb92ffc8eb17a09
treeb012b08e4d10c0ae31485972b680f58e7a0fe013
parent4e080f502a5cd6e538a03472070aae8a730c15e9
networkd: Drop IPv6LL address when link is down

Now we are not dropping the IPv6LL address when link is down.
So next time when link is up and before kernel acquired this address
we are using the old address.

When the link is down kernel tells us that this address is no longer
valid . Let's remove this address and again when kernel tells us
that the address is added let's use it.

fixes #3264
src/network/networkd-address.c