[iptables] extensions: remove redundant casts

Patrick McHardy netfilter-cvslog-bounces at lists.netfilter.org
Mon Jun 8 15:47:04 CEST 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=ecd48dd6ba534deea7fd4d0ce20c7b5c00f4128f
commit ecd48dd6ba534deea7fd4d0ce20c7b5c00f4128f
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Mon Jun 8 15:46:52 2009 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Mon Jun 8 15:46:52 2009 +0200

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

commit 6d7d91e86729e3b2bcca6821409e8d78e83430e7
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Mon Jun 8 15:46:19 2009 +0200
Commit:     Patrick McHardy <kaber at trash.net>
CommitDate: Mon Jun 8 15:46:19 2009 +0200

    DNAT/SNAT: add manpage documentation for --persistent flag
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>
       via  ecd48dd6ba534deea7fd4d0ce20c7b5c00f4128f (commit)
       via  6d7d91e86729e3b2bcca6821409e8d78e83430e7 (commit)
      from  42979363f3958b4436c6d2503753c182c58e55ea (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 ecd48dd6ba534deea7fd4d0ce20c7b5c00f4128f
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Mon Jun 8 15:46:52 2009 +0200

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

commit 6d7d91e86729e3b2bcca6821409e8d78e83430e7
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Mon Jun 8 15:46:19 2009 +0200

    DNAT/SNAT: add manpage documentation for --persistent flag
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
    Signed-off-by: Patrick McHardy <kaber at trash.net>

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

 extensions/libipt_DNAT.man   |    7 +++++--
 extensions/libipt_SAME.man   |    2 ++
 extensions/libipt_SNAT.man   |    7 +++++--
 extensions/libipt_realm.c    |    4 ++--
 extensions/libxt_multiport.c |   12 ++++++------
 5 files changed, 20 insertions(+), 12 deletions(-)
Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
Signed-off-by: Patrick McHardy <kaber at trash.net>

diff --git a/extensions/libipt_DNAT.man b/extensions/libipt_DNAT.man
index 22e84c6..d1e0a3a 100644
--- a/extensions/libipt_DNAT.man
+++ b/extensions/libipt_DNAT.man
@@ -32,5 +32,8 @@ anymore.
 If option
 \fB\-\-random\fP
 is used then port mapping will be randomized (kernel >= 2.6.22).
-.RS
-.PP
+.TP
+\fB\-\-persistent\fP
+Gives a client the same source-/destination-address for each connection.
+This supersedes the SAME target. Support for persistent mappings is available
+from 2.6.29-rc2.
diff --git a/extensions/libipt_SAME.man b/extensions/libipt_SAME.man
index b862aa4..a99dc73 100644
--- a/extensions/libipt_SAME.man
+++ b/extensions/libipt_SAME.man
@@ -1,6 +1,8 @@
 Similar to SNAT/DNAT depending on chain: it takes a range of addresses
 (`\-\-to 1.2.3.4\-1.2.3.7') and gives a client the same
 source-/destination-address for each connection.
+.PP
+N.B.: The DNAT target's \fB\-\-persistent\fP option replaced the SAME target.
 .TP
 \fB\-\-to\fP \fIipaddr\fP[\fB\-\fP\fIipaddr\fP]
 Addresses to map source to. May be specified more than once for
diff --git a/extensions/libipt_SNAT.man b/extensions/libipt_SNAT.man
index 040571b..6b828fd 100644
--- a/extensions/libipt_SNAT.man
+++ b/extensions/libipt_SNAT.man
@@ -30,5 +30,8 @@ anymore.
 If option
 \fB\-\-random\fP
 is used then port mapping will be randomized (kernel >= 2.6.21).
-.RS
-.PP
+.TP
+\fB\-\-persistent\fP
+Gives a client the same source-/destination-address for each connection.
+This supersedes the SAME target. Support for persistent mappings is available
+from 2.6.29-rc2.



More information about the netfilter-cvslog mailing list