Re: [PATCH] xt_AUDIT.c: remove ipv6 dependencies

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

 



Le samedi 21 mai 2011 Ã 23:37 +0100, Mr Dash Four a Ãcrit :
> All,
> 
> 
> This patch follows the one I submitted yesterday and removes the
> dependencies on ipv6 allowing the AUDIT target be compiled on systems
> where no ipv6 is implemented or running.
> 
> Signed-off-by: Mr Dash Four <mr.dash.four@xxxxxxxxxxxxxx>
> ---
>  net/netfilter/xt_AUDIT.c |   16 ++++++++++++++--
>  1 files changed, 14 insertions(+), 2 deletions(-)
> 
> diff --git a/net/netfilter/xt_AUDIT.c b/net/netfilter/xt_AUDIT.c
> index e823f18..5cea31e 100644
> --- a/net/netfilter/xt_AUDIT.c
> +++ b/net/netfilter/xt_AUDIT.c
> @@ -23,14 +23,18 @@
>  #ifdef CONFIG_NF_CONNTRACK_SECMARK
>  #include <linux/security.h>
>  #endif
> +#ifdef CONFIG_IPV6
>  #include <net/ipv6.h>
> +#endif

Well, what happens if I want ipv6 as a module, and ipv6 support in
xt_AUDIT ?

Its not clear why you beliebe this patch is needed.

I have a kernel without IPV6, and xt_AUDIT compiles fine here, it even
loads properly.



--
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