From 96a1c58405c40a186bb039bbf0df88624633a21b Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 19 Mar 2008 19:29:56 +0000 Subject: [PATCH] Allow 'shorewall[-lite] show filters' git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8308 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/lib.cli | 2 +- Shorewall-common/shorewall | 2 +- Shorewall-lite/shorewall-lite | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall-common/lib.cli b/Shorewall-common/lib.cli index ac3689092..e2428d5b0 100644 --- a/Shorewall-common/lib.cli +++ b/Shorewall-common/lib.cli @@ -490,7 +490,7 @@ show_command() { echo show_tc ;; - classifiers) + classifiers|filters) [ $# -gt 1 ] && usage 1 echo "$PRODUCT $version Clasifiers at $HOSTNAME - $(date)" echo diff --git a/Shorewall-common/shorewall b/Shorewall-common/shorewall index fef631229..c316ac142 100755 --- a/Shorewall-common/shorewall +++ b/Shorewall-common/shorewall @@ -1406,7 +1406,7 @@ usage() # $1 = exit status echo " restart [ -n ] [ -C {shell|perl} ] [ ]" echo " restore [ -n ] [ ]" echo " save [ ]" - echo " show [ -x ] [ -m ] [-f] [ -t {filter|mangle|nat} ] [ {chain [ [ ... ]|actions|capabilities|classifiers|config|connections|ip|log|macros|mangle|nat|routing|tc|vardir|zones} ]" + echo " show [ -x ] [ -m ] [-f] [ -t {filter|mangle|nat} ] [ {chain [ [ ... ]|actions|capabilities|classifiers|config|connections|filters|ip|log|macros|mangle|nat|routing|tc|vardir|zones} ]" echo " start [ -f ] [ -n ] [ -C {shell|perl} ] [ ]" echo " stop [ -f ]" echo " status" diff --git a/Shorewall-lite/shorewall-lite b/Shorewall-lite/shorewall-lite index af5cfcd02..348d79f38 100755 --- a/Shorewall-lite/shorewall-lite +++ b/Shorewall-lite/shorewall-lite @@ -374,7 +374,7 @@ usage() # $1 = exit status echo " restart [ -n ]" echo " restore [ -n ] [ ]" echo " save [ ]" - echo " show [ -x ] [ -m ] [ -f ] [ -t {filter|mangle|nat} ] [ {chain [ [ ... ]|capabilities|classifiers|config|connections|ip|log|mangle|nat|routing|tc|vardir|zones} ]" + echo " show [ -x ] [ -m ] [ -f ] [ -t {filter|mangle|nat} ] [ {chain [ [ ... ]|capabilities|classifiers|config|connections|filters|ip|log|mangle|nat|routing|tc|vardir|zones} ]" echo " start [ -f ] [ -n ]" echo " stop" echo " status"