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:
teastep 2002-11-09 15:56:29 +00:00
parent 507fa8069d
commit c44cb44f7c

View File

@ -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