summaryrefslogtreecommitdiff
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
parent3d7ed6451a4e0dc19fb9db3d2f53bbdddf1c5ff2 (diff)
do not flush addresses on deconfig, otherwise ipv6 link-local address is removed and radvd doesn't work as expected
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/usr/share/udhcpc/default.script3
2 files changed, 3 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 822415352..7a3fedf59 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 51
+PKG_RELEASE:= 52
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
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