diff options
author | Roy Marples <roy@marples.name> | 2007-05-02 10:59:34 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-05-02 10:59:34 +0000 |
commit | 82361c0feb7350cd47f9b101f7315805ac122b38 (patch) | |
tree | ee7aae344c22b3813413a29b46414d6fcb1e1df2 /sh | |
parent | 700bdb4f1dce01eeacaf07937a6386563dd84ddb (diff) |
Don't delete addresses for PPP interfaces, #176764.
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/net.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -560,7 +560,10 @@ stop() { fi done - _delete_addresses "${IFACE}" + # Only delete addresses for non PPP interfaces + if ! type is_ppp >/dev/null 2>/dev/null || ! is_ppp ; then + _delete_addresses "${IFACE}" + fi for module in ${MODULES} ; do if type "${module}_post_stop" >/dev/null 2>/dev/null ; then |