+
+ # put the ip6addr back to the beginning to become the main ip again
+ [ -z "$ip6addr_main" ] || {
+ $DEBUG ifconfig "$iface_main" del "$ip6addr_main"
+ $DEBUG ifconfig "$iface_main" add "$ip6addr_main"
+ }
+}
+
+stop_interface_dhcp() {
+ local config="$1"
+ uci -P /var/state revert "network.$config"