13 May
2013
13 May
'13
7:18 p.m.
On Thu, May 9, 2013 at 11:53 PM, Thomas Bächler <thomas@archlinux.org> wrote:
Am 09.05.2013 23:29, schrieb Thomas Bächler:
When switching networks in auto.action, the addresses are not flushed. This is especially problematic with stateless ipv6 autoconfigutation, as invalid IPs may stay around until their (potentially very long) lifetime has expired.
bring_interface_down is always called after ip_unset everywhere else, so this change does not affect anything else.
This may not be a good idea, since it probably flushes the link-local address. I must test more.
I think a better way is to delete all static addresses in ip_unset. - Jouke