[iptables] manpages: add missing --rsource, --rdest options to libxt_recent.man

Patrick McHardy netfilter-cvslog-bounces at lists.netfilter.org
Wed Aug 13 14:45:21 CEST 2008


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=d91bd17eccd00fd392fbd89568bc21a605e84ea9
commit d91bd17eccd00fd392fbd89568bc21a605e84ea9
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Wed Aug 13 14:44:30 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Aug 13 14:44:30 2008 +0200

    manpages: add missing --rsource,--rdest options to libxt_recent.man
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit 7963845decf9de40e612e62eaf7ef62f15cf8080
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Wed Aug 13 14:43:56 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Aug 13 14:43:56 2008 +0200

    build: fix initext.c dependency
    
    initext?.c is generated within the current directory, not in ${srcdir}.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit ee38146c2f87a4c80865b706edba1b3947b2f3ae
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Wed Aug 13 14:43:22 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Aug 13 14:43:22 2008 +0200

    build: fix dependency tracking for xtables.h.in
    
    For files to be correctly regenerated after the .in file has been
    touched, an explicit extra dependency is needed in the Makefile.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit 967279231a9ecfa99f26694a954afc535c63db1d
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Wed Aug 13 14:42:41 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Aug 13 14:42:41 2008 +0200

    Synchronize invert flag order with manpages
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit 1eada72b7da712bffb87e829b3b9deb3de6bca3c
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Wed Aug 13 14:41:32 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Aug 13 14:41:32 2008 +0200

    Warn about use of DROP in nat table
    
    Consensus is that we should warn for now.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit d38eaf488dcd9c78d1ea7c1b9613d210688114af
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Wed Aug 13 14:40:18 2008 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Wed Aug 13 14:40:18 2008 +0200

    physdev: remove extra space in output
    
    Just a cosmetic fix for `iptables -S` and `iptables-save` printing
    two spaces between arguments in the physdev match.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>
       via  d91bd17eccd00fd392fbd89568bc21a605e84ea9 (commit)
       via  7963845decf9de40e612e62eaf7ef62f15cf8080 (commit)
       via  ee38146c2f87a4c80865b706edba1b3947b2f3ae (commit)
       via  967279231a9ecfa99f26694a954afc535c63db1d (commit)
       via  1eada72b7da712bffb87e829b3b9deb3de6bca3c (commit)
       via  d38eaf488dcd9c78d1ea7c1b9613d210688114af (commit)
      from  aeafdb8126d6ee658ff2b55dea380a84d1d77a25 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d91bd17eccd00fd392fbd89568bc21a605e84ea9
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Aug 13 14:44:30 2008 +0200

    manpages: add missing --rsource,--rdest options to libxt_recent.man
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit 7963845decf9de40e612e62eaf7ef62f15cf8080
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Aug 13 14:43:56 2008 +0200

    build: fix initext.c dependency
    
    initext?.c is generated within the current directory, not in ${srcdir}.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit ee38146c2f87a4c80865b706edba1b3947b2f3ae
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Aug 13 14:43:22 2008 +0200

    build: fix dependency tracking for xtables.h.in
    
    For files to be correctly regenerated after the .in file has been
    touched, an explicit extra dependency is needed in the Makefile.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit 967279231a9ecfa99f26694a954afc535c63db1d
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Aug 13 14:42:41 2008 +0200

    Synchronize invert flag order with manpages
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit 1eada72b7da712bffb87e829b3b9deb3de6bca3c
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Aug 13 14:41:32 2008 +0200

    Warn about use of DROP in nat table
    
    Consensus is that we should warn for now.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

commit d38eaf488dcd9c78d1ea7c1b9613d210688114af
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Wed Aug 13 14:40:18 2008 +0200

    physdev: remove extra space in output
    
    Just a cosmetic fix for `iptables -S` and `iptables-save` printing
    two spaces between arguments in the physdev match.
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

-----------------------------------------------------------------------

 Makefile.am                     |    2 ++
 extensions/GNUmakefile.in       |    2 +-
 extensions/libip6t_ah.c         |    4 ++--
 extensions/libip6t_dst.c        |    2 +-
 extensions/libip6t_frag.c       |    4 ++--
 extensions/libip6t_hbh.c        |    2 +-
 extensions/libip6t_hl.c         |    2 +-
 extensions/libip6t_icmp6.c      |    2 +-
 extensions/libip6t_ipv6header.c |    2 +-
 extensions/libip6t_mh.c         |    2 +-
 extensions/libip6t_rt.c         |    6 +++---
 extensions/libipt_ah.c          |    2 +-
 extensions/libipt_icmp.c        |    2 +-
 extensions/libipt_realm.c       |    2 +-
 extensions/libipt_recent.man    |    7 +++++++
 extensions/libxt_dccp.c         |    4 ++--
 extensions/libxt_esp.c          |    2 +-
 extensions/libxt_mac.c          |    2 +-
 extensions/libxt_multiport.c    |    6 +++---
 extensions/libxt_physdev.c      |   27 ++++++++++++++-------------
 extensions/libxt_sctp.c         |    6 +++---
 extensions/libxt_tcp.c          |    8 ++++----
 extensions/libxt_udp.c          |    4 ++--
 ip6tables.c                     |   10 +++++-----
 iptables.c                      |   20 ++++++++++++++------
 25 files changed, 75 insertions(+), 57 deletions(-)
Just a cosmetic fix for `iptables -S` and `iptables-save` printing
two spaces between arguments in the physdev match.

Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
Signed-off-by: Patrick McHardy <kaber at trash.net>

diff --git a/extensions/libxt_physdev.c b/extensions/libxt_physdev.c
index 34547c8..0a937ea 100644
--- a/extensions/libxt_physdev.c
+++ b/extensions/libxt_physdev.c
@@ -143,22 +143,23 @@ static void physdev_save(const void *ip, const struct xt_entry_match *match)
 		(struct xt_physdev_info*)match->data;
 
 	if (info->bitmask & XT_PHYSDEV_OP_ISIN)
-		printf("%s --physdev-is-in",
-		       info->invert & XT_PHYSDEV_OP_ISIN ? " !":"");
+		printf("%s--physdev-is-in ",
+		       (info->invert & XT_PHYSDEV_OP_ISIN) ? "! " : "");
 	if (info->bitmask & XT_PHYSDEV_OP_IN)
-		printf("%s --physdev-in %s",
-		(info->invert & XT_PHYSDEV_OP_IN) ? " !":"", info->physindev);
+		printf("%s--physdev-in %s ",
+		       (info->invert & XT_PHYSDEV_OP_IN) ? "! " : "",
+		       info->physindev);
 
 	if (info->bitmask & XT_PHYSDEV_OP_ISOUT)
-		printf("%s --physdev-is-out",
-		       info->invert & XT_PHYSDEV_OP_ISOUT ? " !":"");
+		printf("%s--physdev-is-out ",
+		       (info->invert & XT_PHYSDEV_OP_ISOUT) ? "! " : "");
 	if (info->bitmask & XT_PHYSDEV_OP_OUT)
-		printf("%s --physdev-out %s",
-		(info->invert & XT_PHYSDEV_OP_OUT) ? " !":"", info->physoutdev);
+		printf("%s--physdev-out %s ",
+		       (info->invert & XT_PHYSDEV_OP_OUT) ? "! " : "",
+		       info->physoutdev);
 	if (info->bitmask & XT_PHYSDEV_OP_BRIDGED)
-		printf("%s --physdev-is-bridged",
-		       info->invert & XT_PHYSDEV_OP_BRIDGED ? " !":"");
-	printf(" ");
+		printf("%s--physdev-is-bridged ",
+		       (info->invert & XT_PHYSDEV_OP_BRIDGED) ? "! " : "");
 }
 
 static struct xtables_match physdev_match = {



More information about the netfilter-cvslog mailing list