Skip to content

Commit

Permalink
ipv4/netfilter/nf_nat_standalone: workaround to make -Wswitch happy
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeDrOiD committed May 15, 2011
1 parent 6cdd5dd commit 1fab21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/netfilter/nf_nat_standalone.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ nf_nat_fn(unsigned int hooknum,
}
}

switch (ctinfo) {
switch ((int)ctinfo) {
case IP_CT_RELATED:
case IP_CT_RELATED+IP_CT_IS_REPLY:
if (ip_hdr(skb)->protocol == IPPROTO_ICMP) {
Expand Down

0 comments on commit 1fab21a

Please sign in to comment.