mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-10 16:15:10 +02:00
Add copyright notices to all files; move rest of rule generation to Rules module
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5549 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
@ -151,7 +151,9 @@ stop_firewall() {
|
||||
undo_routing
|
||||
|
||||
restore_default_route
|
||||
|
||||
#
|
||||
# Fixme -- CRITICALHOSTS handling broken
|
||||
#
|
||||
if [ -n "$CRITICALHOSTS" ]; then
|
||||
if [ -z "$ADMINISABSENTMINDED" ]; then
|
||||
|
||||
@ -162,7 +164,7 @@ stop_firewall() {
|
||||
setpolicy FORWARD DROP
|
||||
|
||||
deleteallchains
|
||||
|
||||
|
||||
for host in $CRITICALHOSTS; do
|
||||
interface=${host%:*}
|
||||
networks=${host#*:}
|
||||
|
Reference in New Issue
Block a user