Re: [PATCH iptables] libxt_length: update to revision 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2010-07-24 06:29, Changli Gao wrote:

>update libxt_length to revision 1 to support ipv6 jumbo frames.

You can't just go and change these things, would break xt_length v0.


>Signed-off-by: Changli Gao <xiaosuo@xxxxxxxxx>
>----
> extensions/libxt_length.c           |    1 +
> include/linux/netfilter/xt_length.h |    2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>diff --git a/extensions/libxt_length.c b/extensions/libxt_length.c
>index 96e8b6c..5d0f5e9 100644
>--- a/extensions/libxt_length.c
>+++ b/extensions/libxt_length.c
>@@ -125,6 +125,7 @@ static struct xtables_match length_match = {
> 	.print		= length_print,
> 	.save		= length_save,
> 	.extra_opts	= length_opts,
>+	.revision	= 1,
> };
> 
> void _init(void)
>diff --git a/include/linux/netfilter/xt_length.h b/include/linux/netfilter/xt_length.h
>index b82ed7c..a12785c 100644
>--- a/include/linux/netfilter/xt_length.h
>+++ b/include/linux/netfilter/xt_length.h
>@@ -4,7 +4,7 @@
> #include <linux/types.h>
> 
> struct xt_length_info {
>-    __u16	min, max;
>+    __u32	min, max;
>     __u8	invert;
> };
> 
>--
>To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux