diff --git a/package/firewall/files/lib/fw.sh b/package/firewall/files/lib/fw.sh index 19dddef443..896947241a 100644 --- a/package/firewall/files/lib/fw.sh +++ b/package/firewall/files/lib/fw.sh @@ -242,5 +242,6 @@ fw_get_subnet4() { export -n -- "$_var=! $_flag $_ipaddr/${_netmask:-255.255.255.255}" || \ export -n -- "$_var=$_flag $_ipaddr/${_netmask:-255.255.255.255}" ;; + *) export -n -- "$_var=" ;; esac }