diff options
author | Thomas Bächler <thomas@archlinux.org> | 2013-05-16 23:19:25 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-05-17 10:52:51 +0200 |
commit | 032dfba32c67ba59161a0856e8bc819fceefd1e0 (patch) | |
tree | c9a0e7327d68d1911b339ed84bd2a71114522729 /src/lib/connections/pppoe | |
parent | 55adbd5a83f245af22896adb13fd120b6df0253d (diff) | |
download | netctl-032dfba32c67ba59161a0856e8bc819fceefd1e0.tar.gz netctl-032dfba32c67ba59161a0856e8bc819fceefd1e0.tar.xz |
Flush the interface configuration in ip_unset instead of bring_interface_down.
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.
V2: Make sure not to flush the link local address.
Diffstat (limited to 'src/lib/connections/pppoe')
0 files changed, 0 insertions, 0 deletions