diff options
author | Andrew Morton <akpm@osdl.org> | 2005-09-08 13:36:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-08 13:36:34 -0700 |
commit | 3a93481589dc80d9ff9082731f35031b0345442e (patch) | |
tree | 589361c5beaa2f5887124190e367312a945381ea /net/ipv4 | |
parent | ce723d8e048ef98ea64d12379e3921c933f5b3e0 (diff) | |
download | kernel_samsung_tuna-3a93481589dc80d9ff9082731f35031b0345442e.zip kernel_samsung_tuna-3a93481589dc80d9ff9082731f35031b0345442e.tar.gz kernel_samsung_tuna-3a93481589dc80d9ff9082731f35031b0345442e.tar.bz2 |
[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>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_netbios_ns.c | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_netbios_ns.c b/net/ipv4/netfilter/ip_conntrack_netbios_ns.c index 2b5cf9c..bb72466 100644 --- a/net/ipv4/netfilter/ip_conntrack_netbios_ns.c +++ b/net/ipv4/netfilter/ip_conntrack_netbios_ns.c @@ -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, |