From 5e1c25b23c88c123739c57a13e66cb8fb89d00ec Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Tue, 25 Jun 2024 11:28:22 +0800 Subject: [PATCH] net/netfilter: fix windows compile error Resolve compilation errors encountered during compilation in windows platform. Signed-off-by: zhanghongyu --- net/netfilter/ip6t_sockopt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/netfilter/ip6t_sockopt.c b/net/netfilter/ip6t_sockopt.c index c30f09ecae..c4804ba5d4 100644 --- a/net/netfilter/ip6t_sockopt.c +++ b/net/netfilter/ip6t_sockopt.c @@ -80,6 +80,8 @@ static struct ip6t_table_s g_tables[] = { #ifdef CONFIG_NET_IPFILTER {NULL, ip6t_filter_init, ip6t_filter_apply}, +#else + {NULL, NULL, NULL} #endif };