diff mbox

libxt_devgroup: manpage corrections

Message ID 1410784519-28428-1-git-send-email-anarey@gmail.com
State Not Applicable
Delegated to: Pablo Neira
Headers show

Commit Message

Ana Rey Sept. 15, 2014, 12:35 p.m. UTC
This corrects several errors in the devgroup match.

Signed-off-by: Ana Rey <anarey@gmail.com>
---
 extensions/libxt_devgroup.man |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Florian Westphal Sept. 15, 2014, 12:49 p.m. UTC | #1
Ana Rey <anarey@gmail.com> wrote:
> This corrects several errors in the devgroup match.
> 
> Signed-off-by: Ana Rey <anarey@gmail.com>
> ---
>  extensions/libxt_devgroup.man |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/extensions/libxt_devgroup.man b/extensions/libxt_devgroup.man
> index 4a66c9f..7696f28 100644
> --- a/extensions/libxt_devgroup.man
> +++ b/extensions/libxt_devgroup.man
> @@ -1,7 +1,7 @@
>  Match device group of a packets incoming/outgoing interface.
>  .TP
> -[\fB!\fP] \fB\-\-src\-group\fP \fIname\fP
> +[\fB!\fP] \fB\-\-src\-group\fP \fIvalue[/mask]\fP

The match also supports name mappings via /etc/iproute2/group_map.

[ although iproute2 seems to use /etc/iproute2/group instead,
  perhaps a bug? ]
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/extensions/libxt_devgroup.man b/extensions/libxt_devgroup.man
index 4a66c9f..7696f28 100644
--- a/extensions/libxt_devgroup.man
+++ b/extensions/libxt_devgroup.man
@@ -1,7 +1,7 @@ 
 Match device group of a packets incoming/outgoing interface.
 .TP
-[\fB!\fP] \fB\-\-src\-group\fP \fIname\fP
+[\fB!\fP] \fB\-\-src\-group\fP \fIvalue[/mask]\fP
 Match device group of incoming device
 .TP
-[\fB!\fP] \fB\-\-dst\-group\fP \fIname\fP
+[\fB!\fP] \fB\-\-dst\-group\fP \fIvalue[/mask]\fP
 Match device group of outgoing device