summaryrefslogtreecommitdiff
path: root/package/base-files/src/usr/share
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-08-28 15:27:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-08-28 15:27:37 +0200
commit8865b970f9db91f24472c596117c785cb76cdb2b (patch)
tree683fb460271b5b567e750b8b51a5853bca6379d7 /package/base-files/src/usr/share
parent3d7ed6451a4e0dc19fb9db3d2f53bbdddf1c5ff2 (diff)
do not flush addresses on deconfig, otherwise ipv6 link-local address is removed and radvd doesn't work as expected
Diffstat (limited to 'package/base-files/src/usr/share')
-rwxr-xr-xpackage/base-files/src/usr/share/udhcpc/default.script3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/src/usr/share/udhcpc/default.script b/package/base-files/src/usr/share/udhcpc/default.script
index 415bf92a4..3744dfb09 100755
--- a/package/base-files/src/usr/share/udhcpc/default.script
+++ b/package/base-files/src/usr/share/udhcpc/default.script
@@ -8,7 +8,8 @@ RESOLV_CONF=/etc/resolv.conf
case $1 in
(deconfig)
- ip addr flush $interface
+ # removes ipv6 link-local address, which is bad
+ # ip addr flush $interface
;;
(renew|bound)
ip addr add $ip/${mask:-24} brd + dev $interface