SOURCES: iptables-layer7.patch - updated for 1.4.0

zbyniu zbyniu at pld-linux.org
Sun Feb 3 00:58:24 CET 2008


Author: zbyniu                       Date: Sat Feb  2 23:58:24 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 1.4.0

---- Files affected:
SOURCES:
   iptables-layer7.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/iptables-layer7.patch
diff -u SOURCES/iptables-layer7.patch:1.1 SOURCES/iptables-layer7.patch:1.2
--- SOURCES/iptables-layer7.patch:1.1	Wed Jan  2 12:55:19 2008
+++ SOURCES/iptables-layer7.patch	Sun Feb  3 00:58:19 2008
@@ -317,8 +317,8 @@
 +
 +/* Function which parses command options; returns true if it ate an option */
 +static int parse(int c, char **argv, int invert, unsigned int *flags,
-+      const struct ipt_entry *entry, unsigned int *nfcache,
-+      struct ipt_entry_match **match)
++      const void *entry,
++      struct xt_entry_match **match)
 +{
 +	struct xt_layer7_info *layer7info = 
 +		(struct xt_layer7_info *)(*match)->data;
@@ -367,8 +367,8 @@
 +}
 +
 +/* Prints out the matchinfo. */
-+static void print(const struct ipt_ip *ip,
-+      const struct ipt_entry_match *match,
++static void print(const void *ip,
++      const struct xt_entry_match *match,
 +      int numeric)
 +{
 +	printf("LAYER7 ");
@@ -377,7 +377,7 @@
 +		  ((struct xt_layer7_info *)match->data)->invert, numeric);
 +}
 +/* Saves the union ipt_matchinfo in parsable form to stdout. */
-+static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
++static void save(const void *ip, const struct xt_entry_match *match)
 +{
 +        const struct xt_layer7_info *info =
 +            (const struct xt_layer7_info*) match->data;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/iptables-layer7.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list