package/iptables: refresh patches
authorGabor Juhos <juhosg@openwrt.org>
Fri, 26 Mar 2010 14:28:40 +0000 (14:28 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 26 Mar 2010 14:28:40 +0000 (14:28 +0000)
SVN-Revision: 20465

package/iptables/patches/002-layer7_2.17.patch
package/iptables/patches/009-table-alignment.patch
package/iptables/patches/010-multiport-linux-2.4-compat.patch

index a62d87f61fa1bb2082716739d49da23bc39faff5..3257f0fb70c5254a97ed106be7f1cf16d0e9c1b9 100644 (file)
@@ -1,6 +1,5 @@
-diff -Nur a/libxt_layer7.c b/libxt_layer7.c
---- a/extensions/libxt_layer7.c        1970-01-01 01:00:00.000000000 +0100
-+++ b/extensions/libxt_layer7.c        2008-08-22 16:00:52.000000000 +0200
+--- /dev/null
++++ b/extensions/libxt_layer7.c
 @@ -0,0 +1,368 @@
 +/* 
 +   Shared library add-on to iptables for layer 7 matching support. 
@@ -370,9 +369,8 @@ diff -Nur a/libxt_layer7.c b/libxt_layer7.c
 +{
 +      xtables_register_match(&layer7);
 +}
-diff -Nur a/libxt_layer7.man b/libxt_layer7.man
---- a/extensions/libxt_layer7.man      1970-01-01 01:00:00.000000000 +0100
-+++ b/extensions/libxt_layer7.man      2008-08-22 16:00:52.000000000 +0200
+--- /dev/null
++++ b/extensions/libxt_layer7.man
 @@ -0,0 +1,14 @@
 +This module matches packets based on the application layer data of 
 +their connections.  It uses regular expression matching to compare 
index b11c0afd6fc34f91c32935ebd65c96bd62e37b87..53012ab320e13a065aff27df75c4913ae4e030da 100644 (file)
@@ -1,6 +1,6 @@
 --- a/libiptc/libiptc.c
 +++ b/libiptc/libiptc.c
-@@ -69,7 +69,7 @@
+@@ -69,7 +69,7 @@ static const char *hooknames[] = {
  struct ipt_error_target
  {
        STRUCT_ENTRY_TARGET t;
index 7233d3aeb2ee767d0d4a7f8ec460fd342d96a797..e87dfc1b68de6e5987ed6dd19467ab8a327dda6e 100644 (file)
@@ -22,7 +22,7 @@
  static void multiport_help_v1(void)
  {
        printf(
-@@ -71,26 +56,6 @@
+@@ -71,26 +56,6 @@ proto_to_name(u_int8_t proto)
        }
  }
  
@@ -49,7 +49,7 @@
  static void
  parse_multi_ports_v1(const char *portstring, 
                     struct xt_multiport_v1 *multiinfo,
-@@ -154,73 +119,6 @@
+@@ -154,73 +119,6 @@ check_proto(u_int16_t pnum, u_int8_t inv
  /* Function which parses command options; returns true if it
     ate an option */
  static int
  __multiport_parse_v1(int c, char **argv, int invert, unsigned int *flags,
                       struct xt_entry_match **match, u_int16_t pnum,
                       u_int8_t invflags)
-@@ -313,55 +211,6 @@
+@@ -313,55 +211,6 @@ print_port(u_int16_t port, u_int8_t prot
  }
  
  /* Prints out the matchinfo. */
  static void __multiport_print_v1(const struct xt_entry_match *match,
                                   int numeric, u_int16_t proto)
  {
-@@ -418,48 +267,6 @@
+@@ -418,48 +267,6 @@ static void multiport_print6_v1(const vo
  }
  
  /* Saves the union ipt_matchinfo in parsable form to stdout. */
  static void __multiport_save_v1(const struct xt_entry_match *match,
                                  u_int16_t proto)
  {
-@@ -513,34 +320,6 @@
+@@ -513,34 +320,6 @@ static struct xtables_match multiport_mt
        {
                .family        = NFPROTO_IPV4,
                .name          = "multiport",