X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/90b818e4a566791584846ffb1b72ee3f30c51a50..271da7f4e93492f377c0fcf25def4591d60b9fbc:/package/firewall/files/lib/config.sh diff --git a/package/firewall/files/lib/config.sh b/package/firewall/files/lib/config.sh index c21391266..996cef884 100644 --- a/package/firewall/files/lib/config.sh +++ b/package/firewall/files/lib/config.sh @@ -87,8 +87,8 @@ config_get_ipaddr() { local vers= case "$addr" in - *.*) vers=4; mask="${mask:-32}" ;; *:*) vers=6; mask="${mask:-128}" ;; + *.*) vers=4; mask="${mask:-32}" ;; esac export ${NO_EXPORT:+-n} -- "${varn}=${addr}"