Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232887
b: refs/heads/master
c: 9d0db8b
h: refs/heads/master
i:
  232885: 970ab61
  232883: 9733cdc
  232879: f57f1a4
v: v3
  • Loading branch information
Pablo Neira Ayuso authored and Patrick McHardy committed Feb 1, 2011
1 parent 9f562fe commit a9491ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08b5194b5d6485d12ebf24cf6ee389fc55691122
refs/heads/master: 9d0db8b6b1da9e3d4c696ef29449700c58d589db
6 changes: 3 additions & 3 deletions trunk/net/ipv4/netfilter/arpt_mangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ static int checkentry(const struct xt_tgchk_param *par)

if (mangle->flags & ~ARPT_MANGLE_MASK ||
!(mangle->flags & ARPT_MANGLE_MASK))
return false;
return -EINVAL;

if (mangle->target != NF_DROP && mangle->target != NF_ACCEPT &&
mangle->target != XT_CONTINUE)
return false;
return true;
return -EINVAL;
return 0;
}

static struct xt_target arpt_mangle_reg __read_mostly = {
Expand Down

0 comments on commit a9491ae

Please sign in to comment.