X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=blobdiff_plain;f=package%2Fiptables%2Fpatches%2F010-multiport-linux-2.4-compat.patch;h=3b35f7e3c6ab1719bc4d4982bc4f7ef841d7ba77;hp=e87dfc1b68de6e5987ed6dd19467ab8a327dda6e;hb=45ab1a31628006af6a1fc5b45c39f64b9a699949;hpb=fa3c5ac38aed85b86cdf159e59524d5fcb3f70fc diff --git a/package/iptables/patches/010-multiport-linux-2.4-compat.patch b/package/iptables/patches/010-multiport-linux-2.4-compat.patch index e87dfc1b68..3b35f7e3c6 100644 --- a/package/iptables/patches/010-multiport-linux-2.4-compat.patch +++ b/package/iptables/patches/010-multiport-linux-2.4-compat.patch @@ -1,6 +1,6 @@ --- a/extensions/libxt_multiport.c +++ b/extensions/libxt_multiport.c -@@ -14,21 +14,6 @@ +@@ -15,21 +15,6 @@ #include /* Function which prints out usage message. */ @@ -22,7 +22,7 @@ static void multiport_help_v1(void) { printf( -@@ -71,26 +56,6 @@ proto_to_name(u_int8_t proto) +@@ -72,26 +57,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 @@ check_proto(u_int16_t pnum, u_int8_t inv +@@ -155,73 +120,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 @@ -123,7 +123,7 @@ __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 @@ print_port(u_int16_t port, u_int8_t prot +@@ -314,55 +212,6 @@ print_port(u_int16_t port, u_int8_t prot } /* Prints out the matchinfo. */ @@ -179,7 +179,7 @@ static void __multiport_print_v1(const struct xt_entry_match *match, int numeric, u_int16_t proto) { -@@ -418,48 +267,6 @@ static void multiport_print6_v1(const vo +@@ -419,48 +268,6 @@ static void multiport_print6_v1(const vo } /* Saves the union ipt_matchinfo in parsable form to stdout. */ @@ -228,7 +228,7 @@ static void __multiport_save_v1(const struct xt_entry_match *match, u_int16_t proto) { -@@ -513,34 +320,6 @@ static struct xtables_match multiport_mt +@@ -514,34 +321,6 @@ static struct xtables_match multiport_mt { .family = NFPROTO_IPV4, .name = "multiport",