commit | 523f610e1be2a4afca605962e137064378883c5f | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Mar 22 12:27:06 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 22:36:17 2012 -0400 |
tree | 82923297355fccb70a03c5d2108bc5a6030212a2 | |
parent | 5d5440a835710d09f0ef18da5000541ec98b537a [diff] |
netfilter: remove forward module param confusion. It used to be an int, and it got changed to a bool parameter at least 7 years ago. It happens that NF_ACCEPT and NF_DROP are 0 and 1, so this works, but it's unclear, and the check that it's in range is not required. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>