Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236627
b: refs/heads/master
c: a7c2f4d
h: refs/heads/master
i:
  236625: 561be95
  236623: 8cfc8b9
v: v3
  • Loading branch information
Changli Gao authored and Patrick McHardy committed Jan 18, 2011
1 parent 9bc655e commit 8e4fb17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: fbabf31e4d482149b5e2704eb0287cf9117bdcf3
refs/heads/master: a7c2f4d7daf9bbea362763fa7353b1862a2487ad
4 changes: 2 additions & 2 deletions trunk/include/net/netfilter/nf_nat_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ static inline int nf_nat_initialized(struct nf_conn *ct,
enum nf_nat_manip_type manip)
{
if (manip == IP_NAT_MANIP_SRC)
return ct->status & IPS_SRC_NAT_DONE_BIT;
return ct->status & IPS_SRC_NAT_DONE;
else
return ct->status & IPS_DST_NAT_DONE_BIT;
return ct->status & IPS_DST_NAT_DONE;
}

struct nlattr;
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/ipv4/netfilter/nf_nat_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ nf_nat_setup_info(struct nf_conn *ct,

/* It's done. */
if (maniptype == IP_NAT_MANIP_DST)
ct->status |= IPS_DST_NAT_DONE_BIT;
ct->status |= IPS_DST_NAT_DONE;
else
ct->status |= IPS_SRC_NAT_DONE_BIT;
ct->status |= IPS_SRC_NAT_DONE;

return NF_ACCEPT;
}
Expand Down

0 comments on commit 8e4fb17

Please sign in to comment.