mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-24 19:51:40 +02:00
Yet more removal of dynamic zones
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3235 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ac97e0d93b
commit
e3bf8645b0
@ -1895,7 +1895,6 @@ disable_ipv6_1() {
|
|||||||
#
|
#
|
||||||
# Process the routestopped file either adding or deleting rules
|
# Process the routestopped file either adding or deleting rules
|
||||||
#
|
#
|
||||||
|
|
||||||
process_routestopped() # $1 = command
|
process_routestopped() # $1 = command
|
||||||
{
|
{
|
||||||
local hosts= interface host host1 options networks source= dest= matched
|
local hosts= interface host host1 options networks source= dest= matched
|
||||||
@ -9248,36 +9247,6 @@ case "$COMMAND" in
|
|||||||
check_config
|
check_config
|
||||||
;;
|
;;
|
||||||
|
|
||||||
add)
|
|
||||||
[ $# -lt 3 ] && usage
|
|
||||||
do_initialize
|
|
||||||
my_mutex_on
|
|
||||||
if ! shorewall_is_started ; then
|
|
||||||
echo "Shorewall Not Started"
|
|
||||||
[ -n "$TMP_DIR" ] && rm -rf $TMP_DIR
|
|
||||||
my_mutex_off
|
|
||||||
exit 2;
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
add_to_zone $@
|
|
||||||
my_mutex_off
|
|
||||||
;;
|
|
||||||
|
|
||||||
delete)
|
|
||||||
[ $# -lt 3 ] && usage
|
|
||||||
do_initialize
|
|
||||||
my_mutex_on
|
|
||||||
if ! shorewall_is_started ; then
|
|
||||||
echo "Shorewall Not Started"
|
|
||||||
[ -n "$TMP_DIR" ] && rm -rf $TMP_DIR
|
|
||||||
my_mutex_off
|
|
||||||
exit 2;
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
delete_from_zone $@
|
|
||||||
my_mutex_off
|
|
||||||
;;
|
|
||||||
|
|
||||||
call)
|
call)
|
||||||
#
|
#
|
||||||
# Undocumented way to call functions in /usr/share/shorewall/firewall directly
|
# Undocumented way to call functions in /usr/share/shorewall/firewall directly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user