提交 3a934815 编写于 作者: A Andrew Morton 提交者: David S. Miller

[NETFILTER]: ip_conntrack_netbios_ns.c gcc-2.95.x build fix

gcc-2.95.x can't do this sort of initialisation
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ce723d8e
......@@ -104,12 +104,28 @@ static int help(struct sk_buff **pskb,
static struct ip_conntrack_helper helper = {
.name = "netbios-ns",
.tuple = {
.src.u.udp.port = __constant_htons(137),
.dst.protonum = IPPROTO_UDP,
.src = {
.u = {
.udp = {
.port = __constant_htons(137),
}
}
},
.dst = {
.protonum = IPPROTO_UDP,
},
},
.mask = {
.src.u.udp.port = 0xFFFF,
.dst.protonum = 0xFF,
.src = {
.u = {
.udp = {
.port = 0xFFFF,
}
}
},
.dst = {
.protonum = 0xFF,
},
},
.max_expected = 1,
.me = THIS_MODULE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册