mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
Verify interface names in the SOURCE column of /etc/shorewall/tcrules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@318 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
507fa8069d
commit
c44cb44f7c
@ -1579,6 +1579,10 @@ process_tc_rule()
|
||||
chain=tcout
|
||||
;;
|
||||
*)
|
||||
if ! list_search $source $all_interfaces; then
|
||||
fatal_error "Error: Unknown interface $source"
|
||||
fi
|
||||
|
||||
r="-i $source "
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user