madwifi: rename patch from ifxmips -> lantiq
[openwrt.git] / package / firewall / files / lib / fw.sh
index 7922d22..0814ffc 100644 (file)
@@ -255,9 +255,12 @@ fw_get_subnet4() {
                        [ "${_name#!}" != "$_name" ] && \
                                export -n -- "$_var=! $_flag $_ipaddr/${_netmask:-255.255.255.255}" || \
                                export -n -- "$_var=$_flag $_ipaddr/${_netmask:-255.255.255.255}"
+                       return 0
                ;;
-               *) export -n -- "$_var=" ;;
        esac
+
+       export -n -- "$_var="
+       return 1
 }
 
 fw_check_icmptype4() {
This page took 0.023055 seconds and 4 git commands to generate.