From 3390897a4556d68f431e74ec0d07d634beb78614 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 15 Jun 2020 13:12:43 -0700 Subject: [PATCH 1/2] Remove duplicates from the output of 'show actions' Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 7b26e15e5..348ea5879 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -1109,7 +1109,7 @@ show_blacklists() { } show_actions_sorted() { - show_actions | sort + show_actions | sort -u -k 1,1 } show_macros() { From 4c50f3b9bf419b4c8f486eab6f320e2281e85703 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 16 Jun 2020 15:50:14 -0700 Subject: [PATCH 2/2] Correct typo in shorewall-providers(5). Signed-off-by: Tom Eastep --- Shorewall/manpages/shorewall-providers.xml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/Shorewall/manpages/shorewall-providers.xml b/Shorewall/manpages/shorewall-providers.xml index 5ac997a30..f187eadce 100644 --- a/Shorewall/manpages/shorewall-providers.xml +++ b/Shorewall/manpages/shorewall-providers.xml @@ -79,13 +79,13 @@ A FWMARK value used in your shorewall-mangle(5) - file to direct packets to this provider. + url="shorewall-mangle.html">shorewall-mangle(5) file to + direct packets to this provider. If PROVIDER_OFFSET is non-zero in shorewall.conf(5), then - the value must be a multiple of 2^^PROVIDER_OFFSET. In all cases, - the number of significant bits may not exceed PROVIDER_OFFSET + + url="shorewall.conf.html">shorewall.conf(5), then the value + must be a multiple of 2^^PROVIDER_OFFSET. In all cases, the number + of significant bits may not exceed PROVIDER_OFFSET + PROVIDER_BITS. @@ -111,8 +111,8 @@ The name of the network interface to the provider. Must be listed in shorewall-interfaces(5). - In general, that interface should not have the + url="shorewall-interfaces.html">shorewall-interfaces(5). In + general, that interface should not have the or option specified unless is given in the OPTIONS column of this entry. @@ -190,9 +190,8 @@ Beginning with Shorewall 4.4.3, defaults to the setting of the TRACK_PROVIDERS option in - shorewall.conf - (5). If you set TRACK_PROVIDERS=Yes and want to override that + shorewall.conf (5). + If you set TRACK_PROVIDERS=Yes and want to override that setting for an individual provider, then specify (see below). @@ -343,7 +342,7 @@ weight is given, a balanced route is added with the weight of this provider equal to the specified weight. If the option is - given without a weight, an separate + given without a weight, a separate default route is added through the provider's gateway; the route has a metric equal to the provider's NUMBER.