forked from extern/shorewall_code
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
|
||||
expandv options
|
||||
list_search $1 `separate_list $options` && \
|
||||
echo `expand $interface`:0.0.0.0/0 && \
|
||||
break 1
|
||||
echo `expand $interface`:0.0.0.0/0
|
||||
done < $TMP_DIR/interfaces
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user