netfilter: ctnetlink: fix ctnetlink_parse_tuple() warning
authorPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 16:26:37 +0000 (17:26 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 1 Feb 2011 16:26:37 +0000 (17:26 +0100)
commita00f1f3686d6a062b5295c092a9dff059adbdbf5
tree7aefdf14d12a5ff377fe747d3d8ce4f34f77ff7a
parent582e1fc85ca3727abd4e99109a267c514ea5c260
netfilter: ctnetlink: fix ctnetlink_parse_tuple() warning

net/netfilter/nf_conntrack_netlink.c: In function 'ctnetlink_parse_tuple':
net/netfilter/nf_conntrack_netlink.c:832:11: warning: comparison between 'enum ctattr_tuple' and 'enum ctattr_type'

Use ctattr_type for the 'type' parameter since that's the type of all attributes
passed to this function.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_netlink.c