]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: Fix incorrect argument to ip_nat_initialized() in ctnetlink
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Dec 2005 21:32:14 +0000 (13:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2005 21:32:14 +0000 (13:32 -0800)
commit8d1ca69984ed1e5930c0537b8f606c54007d7319
tree32565f0a3709c671988de88c2407a96499dacd6a
parente4f5c82a92c2a546a16af1614114eec19120e40a
[NETFILTER]: Fix incorrect argument to ip_nat_initialized() in ctnetlink

ip_nat_initialized() takes enum ip_nat_manip_type as it's second argument,
not a hook number.

Noticed and initial patch by Marcus Sundberg <marcus@ingate.com>.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c