[backfire] merge r27198
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 16 Jun 2011 22:20:20 +0000 (22:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 16 Jun 2011 22:20:20 +0000 (22:20 +0000)
SVN-Revision: 27199

package/firewall/files/lib/fw.sh

index 19dddef4433aee9197bd08b1dcaee162b98d8716..896947241a525bdf8d383dd41ce3f34610ef2c6b 100644 (file)
@@ -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
 }