mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Fix bug in find_interfaces_by_option()
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@74 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
65e4f035b0
commit
1c299919c8
@ -849,7 +849,7 @@ find_interfaces_by_option() # $1 = option
|
|||||||
while read ignore interface subnet options; do
|
while read ignore interface subnet options; do
|
||||||
expandv options
|
expandv options
|
||||||
list_search $1 `separate_list $options` && \
|
list_search $1 `separate_list $options` && \
|
||||||
echo `expand $interface` && break 1
|
echo `expand $interface`
|
||||||
done < $TMP_DIR/interfaces
|
done < $TMP_DIR/interfaces
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user