mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-12 16:48:12 +01:00
More ipset bugs
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2091 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
0ab415a9c8
commit
83adebbcfe
@ -555,7 +555,7 @@ iprange_echo()
|
||||
}
|
||||
|
||||
#
|
||||
# Get set flags
|
||||
# Get set flags (ipsets).
|
||||
#
|
||||
get_set_flags() # $1 = set name and optional [levels], $2 = src or dst
|
||||
{
|
||||
@ -707,7 +707,7 @@ match_source_hosts()
|
||||
*:*)
|
||||
physdev_echo "--physdev-in ${1%:*} $(source_ip_range ${1#*:})"
|
||||
;;
|
||||
*.*.*.*)
|
||||
*.*.*.*|+*|!+*)
|
||||
echo $(source_ip_range $1)
|
||||
;;
|
||||
*)
|
||||
@ -726,7 +726,7 @@ match_dest_hosts()
|
||||
*:*)
|
||||
physdev_echo "--physdev-out ${1%:*} $(dest_ip_range ${1#*:})"
|
||||
;;
|
||||
*.*.*.*)
|
||||
*.*.*.*|+*|!+*)
|
||||
echo $(dest_ip_range $1)
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user