From 10cc400cfdac44f1db260c0fc700ae57262c83d2 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 4 Apr 2011 08:19:36 -0700 Subject: [PATCH] Display mangle table in the output of 'shorewall show tc' --- Shorewall/lib.cli | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Shorewall/lib.cli b/Shorewall/lib.cli index c323ddd95..716f9d9d4 100644 --- a/Shorewall/lib.cli +++ b/Shorewall/lib.cli @@ -631,6 +631,12 @@ show_command() { echo "$g_product $SHOREWALL_VERSION Traffic Control at $g_hostname - $(date)" echo shift + + if [ -z "$1" ]; then + $IPTABLES -t mangle -L -n -v + echo + fi + show_tc $1 ;; classifiers|filters)