From 82361c0feb7350cd47f9b101f7315805ac122b38 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 2 May 2007 10:59:34 +0000 Subject: Don't delete addresses for PPP interfaces, #176764. --- sh/net.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sh') diff --git a/sh/net.sh b/sh/net.sh index 27c81ba1..649e79e5 100755 --- a/sh/net.sh +++ b/sh/net.sh @@ -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 -- cgit v1.2.3