[iptables] iptables-multi: support "iptables-static" as a callable name

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Wed Mar 25 13:48:25 CET 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=cdf51d0183213c4bcac9ef4818155c1d3fbb897e
commit cdf51d0183213c4bcac9ef4818155c1d3fbb897e
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Tue Mar 24 22:35:10 2009 +0100
Commit:     Jan Engelhardt <jengelh at medozas.de>
CommitDate: Tue Mar 24 22:35:10 2009 +0100

    iptables-multi: support "iptables-static" as a callable name
    
    iptables multi-purpose version: unknown applet name iptables-static
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>

commit ed7925b77010dd17531ea0424b49d2b72af4add9
Author:     Jan Engelhardt <jengelh at medozas.de>
AuthorDate: Tue Mar 24 22:26:25 2009 +0100
Commit:     Jan Engelhardt <jengelh at medozas.de>
CommitDate: Tue Mar 24 22:31:48 2009 +0100

    libxt_tcpmss: fix an inversion while parsing --mss
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
       via  cdf51d0183213c4bcac9ef4818155c1d3fbb897e (commit)
       via  ed7925b77010dd17531ea0424b49d2b72af4add9 (commit)
      from  6e70f46f2a146bb7c657f71724c999147a5925dc (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 cdf51d0183213c4bcac9ef4818155c1d3fbb897e
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Tue Mar 24 22:35:10 2009 +0100

    iptables-multi: support "iptables-static" as a callable name
    
    iptables multi-purpose version: unknown applet name iptables-static
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>

commit ed7925b77010dd17531ea0424b49d2b72af4add9
Author: Jan Engelhardt <jengelh at medozas.de>
Date:   Tue Mar 24 22:26:25 2009 +0100

    libxt_tcpmss: fix an inversion while parsing --mss
    
    Signed-off-by: Jan Engelhardt <jengelh at medozas.de>

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

 extensions/libxt_tcpmss.c |    2 +-
 ip6tables-multi.c         |    3 ++-
 iptables-multi.c          |    3 ++-
 3 files changed, 5 insertions(+), 3 deletions(-)
Signed-off-by: Jan Engelhardt <jengelh at medozas.de>

diff --git a/extensions/libxt_tcpmss.c b/extensions/libxt_tcpmss.c
index 43a4a0d..46529f9 100644
--- a/extensions/libxt_tcpmss.c
+++ b/extensions/libxt_tcpmss.c
@@ -26,7 +26,7 @@ parse_tcp_mssvalue(const char *mssvalue)
 {
 	unsigned int mssvaluenum;
 
-	if (!xtables_strtoui(mssvalue, NULL, &mssvaluenum, 0, UINT16_MAX))
+	if (xtables_strtoui(mssvalue, NULL, &mssvaluenum, 0, UINT16_MAX))
 		return mssvaluenum;
 
 	xtables_error(PARAMETER_PROBLEM,



More information about the netfilter-cvslog mailing list