mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Fix bug in find_hosts_by_option()
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@77 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
1cb43c539c
commit
38a0ff5486
@ -867,8 +867,7 @@ find_hosts_by_option() # $1 = option
|
|||||||
while read ignore interface ignore1 options; do
|
while read ignore interface ignore1 options; do
|
||||||
expandv options
|
expandv options
|
||||||
list_search $1 `separate_list $options` && \
|
list_search $1 `separate_list $options` && \
|
||||||
echo `expand $interface`:0.0.0.0/0 && \
|
echo `expand $interface`:0.0.0.0/0
|
||||||
break 1
|
|
||||||
done < $TMP_DIR/interfaces
|
done < $TMP_DIR/interfaces
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user