From 8211c5de357717cd0f851344207e5ceb4bf3f9be Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 17 Apr 2012 06:57:59 -0700 Subject: [PATCH] Add a comment about 'find_tables()' Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 6dd835d6a..2f3ab89af 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -457,7 +457,9 @@ sort_routes() { } # -# Isolate the table in the routing rules being read from stdin +# Isolate the table in the routing rules being read from stdin. +# Piping through sed to remove trailing whitespace works around +# recent 'features' in dash and ip. # find_tables() { sed -r 's/[[:space:]]+$//' | while read rule; do