diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-03 03:58:41 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-11-05 17:11:28 -0500 |
commit | d1208b999dd367b72168cc3c7f8d8d2c95143c67 (patch) | |
tree | fc3e395aee6c226f1e5a134e2df87861ce547b18 /net | |
parent | 7ac00a24f379f8ab9d3c968fea3dc030a45956fd (diff) |
[NETFILTER] bug: nfulnl_msg_config_mode ->copy_range is 32bit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nfnetlink_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c index fca946c049d9..00580a818736 100644 --- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c | |||
@@ -878,7 +878,7 @@ nfulnl_recv_config(struct sock *ctnl, struct sk_buff *skb, | |||
878 | params = NFA_DATA(nfula[NFULA_CFG_MODE-1]); | 878 | params = NFA_DATA(nfula[NFULA_CFG_MODE-1]); |
879 | 879 | ||
880 | nfulnl_set_mode(inst, params->copy_mode, | 880 | nfulnl_set_mode(inst, params->copy_mode, |
881 | ntohs(params->copy_range)); | 881 | ntohl(params->copy_range)); |
882 | } | 882 | } |
883 | 883 | ||
884 | if (nfula[NFULA_CFG_TIMEOUT-1]) { | 884 | if (nfula[NFULA_CFG_TIMEOUT-1]) { |