Remove some cruft

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4690 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-10-16 21:23:41 +00:00
parent 69b049a672
commit af384a1493
2 changed files with 2 additions and 13 deletions

View File

@ -320,14 +320,6 @@ addrule2() # $1 = chain name, remainder of arguments specify the rule
run_iptables2 -A $@
}
#
# Query NetFilter about the existence of a filter chain
#
chain_exists() # $1 = chain name
{
qt $IPTABLES -L $1 -n
}
#
# Create a mangle chain
#
@ -642,7 +634,7 @@ find_broadcasts() {
}
#
# Find interfaces with BROADCAST=detect -- Only returns information if we are compiling a script
# Find interfaces with BROADCAST=detect
#
find_bcastdetect_interfaces() {
for interface in $ALL_INTERFACES; do
@ -1569,8 +1561,6 @@ __EOF__
# Add a NAT rule - Helper function for the rules file processor
#
# The caller has established the following variables:
# COMMAND = The current command
# the motions.
# cli = Source IP, interface or MAC Specification
# serv = Destination IP Specification
# servport = Port the server is listening on
@ -1758,7 +1748,6 @@ __EOF__
# Add one Filter Rule
#
# The caller has established the following variables:
# COMMAND = current command.
# client = SOURCE IP or MAC
# server = DESTINATION IP or interface
# protocol = Protocol

View File

@ -3,7 +3,7 @@
#
# /usr/share/shorewall/macro.template
#
# Macro files are similar to template files with the following exceptions:
# Macro files are similar to action files with the following exceptions:
#
# - A macro file is not processed unless the marcro that it defines is
# referenced in the /etc/shorewall/rules file or in an action