Ignore:
Timestamp:
2011-06-17T00:18:45+02:00 (5 years ago)
Author:
jow
Message:

[package] firewall: ensure that fw_get_subnet4() sets an empty value if no (valid) IPv4 addr was found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/firewall/files/lib/fw.sh

    r27196 r27198  
    243243                                export -n -- "$_var=$_flag $_ipaddr/${_netmask:-255.255.255.255}" 
    244244                ;; 
    245         esac 
    246 } 
     245                *) export -n -- "$_var=" ;; 
     246        esac 
     247} 
Note: See TracChangeset for help on using the changeset viewer.