kernel: add md5sum of kernel
[openwrt.git] / package / firewall / files / lib / config.sh
index 1c5e030..996cef8 100644 (file)
@@ -87,8 +87,8 @@ config_get_ipaddr() {
 
        local vers=
        case "$addr" in
 
        local vers=
        case "$addr" in
-               *.*) vers=4 ;;
-               *:*) vers=6 ;;
+               *:*) vers=6; mask="${mask:-128}" ;;
+               *.*) vers=4; mask="${mask:-32}" ;;
        esac
        
        export ${NO_EXPORT:+-n} -- "${varn}=${addr}"
        esac
        
        export ${NO_EXPORT:+-n} -- "${varn}=${addr}"
This page took 0.055499 seconds and 4 git commands to generate.