Re: [PATCH v2 1/1] xt_ECHO, xt_TARPIT: make properly conditional on IPv6

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

 



On Sunday 2021-09-26 21:57, Philip Prindeville wrote:

>From: Philip Prindeville <philipp@xxxxxxxxxxxxxxxxxxxxx>
>
>Not all modules compile equally well when CONFIG_IPv6 is disabled.
>
> 	{
> 		.name       = "ECHO",
> 		.revision   = 0,
>-		.family     = NFPROTO_IPV6,
>+		.family     = NFPROTO_IPV4,
> 		.proto      = IPPROTO_UDP,
> 		.table      = "filter",
>-		.target     = echo_tg6,
>+		.target     = echo_tg4,
> 		.me         = THIS_MODULE,
> 	},
>+#ifdef WITH_IPV6

I put the original order back, makes the diff smaller.
So added.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux