Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a934815 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller
Browse files

[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
Loading
Loading
Loading
Loading
+20 −4
Original line number Diff line number Diff line
@@ -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,