Commit 06aa1072 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[NETFILTER]: nf_nat_snmp: sparse warning

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent edc26f7a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment