mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ce723d8e04
commit
3a93481589
@ -104,12 +104,28 @@ out:
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user