1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] firewall: fix support for netranges in redirect and rule sections

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21640 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-05-30 23:49:47 +00:00
parent 9c250a1ea9
commit 90b818e4a5
4 changed files with 8 additions and 8 deletions

View File

@@ -87,8 +87,8 @@ config_get_ipaddr() {
local vers=
case "$addr" in
*.*) vers=4 ;;
*:*) vers=6 ;;
*.*) vers=4; mask="${mask:-32}" ;;
*:*) vers=6; mask="${mask:-128}" ;;
esac
export ${NO_EXPORT:+-n} -- "${varn}=${addr}"