diff --git a/icwmp/Makefile b/icwmp/Makefile
index ddaf1f7f2fe9d6768ebe4362d0e43a7745d711a1..386c337e3e15f511632668b73edba4652bd22937 100755
--- a/icwmp/Makefile
+++ b/icwmp/Makefile
@@ -12,7 +12,7 @@ PKG_VERSION:=9.1.21
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/icwmp.git
-PKG_SOURCE_VERSION:=6cee3b2fde788bafa286f556fd58d0265ec342e2
+PKG_SOURCE_VERSION:=39513ff90b1a0f0750819b1b72e472ae9f4ce979
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_MIRROR_HASH:=skip
 
diff --git a/icwmp/files/etc/config/cwmp b/icwmp/files/etc/config/cwmp
index bfa3989d8ac24d97280ad57cfe7007339086c63e..ca20cb7bdeb1eb37c5b5e825f8d68f7a9425a4c3 100644
--- a/icwmp/files/etc/config/cwmp
+++ b/icwmp/files/etc/config/cwmp
@@ -11,12 +11,11 @@ config acs 'acs'
 	option retry_min_wait_interval '5'
 	#­ possible configs interval :[1000:65535]
 	option retry_interval_multiplier '2000'
-	option ipv6_enable '0'
-	option ip_version '4'
 
 config cpe 'cpe'
 	option enable '1'
 	option default_wan_interface 'wan'
+	option default_wan6_interface 'wan6'
 	option default_lan_interface 'lan'
 	option log_to_console 'disable'
 	option log_to_file 'disable'
diff --git a/icwmp/files/etc/init.d/icwmpd b/icwmp/files/etc/init.d/icwmpd
index b622e6b2fc17aa86c7fc99c936a07e54a20128e5..4fe00d1812865b2766454b44f80ee72a040a4cd1 100755
--- a/icwmp/files/etc/init.d/icwmpd
+++ b/icwmp/files/etc/init.d/icwmpd
@@ -320,7 +320,6 @@ validate_acs_section()
 		'compression:or("GZIP","Deflate","Disabled")' \
 		'retry_min_wait_interval:range(1, 65535)' \
 		'retry_interval_multiplier:range(1000, 65535)' \
-		'ipv6_enable:bool' \
 		'ssl_capath:string'
 
 }
@@ -330,6 +329,7 @@ validate_cpe_section()
 	uci_validate_section cwmp cpe "cpe" \
 		'interface:string' \
 		'default_wan_interface:string' \
+		'default_wan6_interface:string' \
 		'log_to_console:or("enable","disable")' \
 		'log_to_file:or("enable","disable")' \
 		'log_severity:or("EMERG", "ALERT", "CRITIC" ,"ERROR", "WARNING", "NOTICE", "INFO", "DEBUG")' \
@@ -382,12 +382,15 @@ boot() {
 
 	config_load cwmp
 	config_get_bool enable_cwmp cpe enable 1
+	local wan_interface=""
+	
+	config_get wan_interface cpe default_wan_interface "wan"
+	
 	if [ "$enable_cwmp" = "0" ]; then
 		return 0
 	fi
 
 	config_get dhcp_discovery acs dhcp_discovery "0"
-	config_get wan_interface cpe default_wan_interface "wan"
 
 	if [ "${dhcp_discovery}" = "enable" ] || [ "${dhcp_discovery}" = "1" ]; then
 		# Set dhcp option 43 if not already configured