Commit 3a934815 authored by Andrew Morton's avatar Andrew Morton Committed by 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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce723d8e
...@@ -104,12 +104,28 @@ static int help(struct sk_buff **pskb, ...@@ -104,12 +104,28 @@ static int help(struct sk_buff **pskb,
static struct ip_conntrack_helper helper = { static struct ip_conntrack_helper helper = {
.name = "netbios-ns", .name = "netbios-ns",
.tuple = { .tuple = {
.src.u.udp.port = __constant_htons(137), .src = {
.dst.protonum = IPPROTO_UDP, .u = {
.udp = {
.port = __constant_htons(137),
}
}
},
.dst = {
.protonum = IPPROTO_UDP,
},
}, },
.mask = { .mask = {
.src.u.udp.port = 0xFFFF, .src = {
.dst.protonum = 0xFF, .u = {
.udp = {
.port = 0xFFFF,
}
}
},
.dst = {
.protonum = 0xFF,
},
}, },
.max_expected = 1, .max_expected = 1,
.me = THIS_MODULE, .me = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment