|
@@ -23,7 +23,7 @@ static int ebt_target_snat(struct sk_buff *skb, unsigned int hooknr,
|
|
const struct ebt_nat_info *info = data;
|
|
const struct ebt_nat_info *info = data;
|
|
|
|
|
|
if (!skb_make_writable(skb, 0))
|
|
if (!skb_make_writable(skb, 0))
|
|
- return NF_DROP;
|
|
|
|
|
|
+ return EBT_DROP;
|
|
|
|
|
|
memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN);
|
|
memcpy(eth_hdr(skb)->h_source, info->mac, ETH_ALEN);
|
|
if (!(info->target & NAT_ARP_BIT) &&
|
|
if (!(info->target & NAT_ARP_BIT) &&
|