From af384a149364ee81e3e47fa2199f18e6981288f4 Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 16 Oct 2006 21:23:41 +0000 Subject: [PATCH] Remove some cruft git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4690 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 13 +------------ Shorewall/macro.template | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 61277bc30..85be208e4 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -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 diff --git a/Shorewall/macro.template b/Shorewall/macro.template index d9c155a03..5347e18d8 100644 --- a/Shorewall/macro.template +++ b/Shorewall/macro.template @@ -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