summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-01-31 04:07:08 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:27:44 -0800
commit06aa10728e36265cce82a53de025ad1aa672b2b0 (patch)
tree4f03c52777d806ccd1a2f7ece174d1b6c211716b /net/ipv4
parentedc26f7aaa23591c779d6d6fc833c0c96fbeb3c0 (diff)
downloadlinux-3.10-06aa10728e36265cce82a53de025ad1aa672b2b0.tar.gz
linux-3.10-06aa10728e36265cce82a53de025ad1aa672b2b0.tar.bz2
linux-3.10-06aa10728e36265cce82a53de025ad1aa672b2b0.zip
[NETFILTER]: nf_nat_snmp: sparse warning
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_nat_snmp_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_nat_snmp_basic.c b/net/ipv4/netfilter/nf_nat_snmp_basic.c
index 07f2a49926d..540ce6ae887 100644
--- a/net/ipv4/netfilter/nf_nat_snmp_basic.c
+++ b/net/ipv4/netfilter/nf_nat_snmp_basic.c
@@ -260,7 +260,7 @@ static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc)
{
unsigned char ch;
- if (eoc == 0) {
+ if (eoc == NULL) {
if (!asn1_octet_decode(ctx, &ch))
return 0;