mediatek: hnat: fix wifi->ext hnat support

This commit is contained in:
hanwckf 2024-01-18 22:32:23 +08:00
parent fcbff49bcc
commit f518559c0f

View File

@ -2179,8 +2179,8 @@ static unsigned int mtk_hnat_nf_post_routing(
if (!IS_LAN(out) && !IS_WAN(out) && !IS_EXT(out))
return 0;
if (!IS_WHNAT(out) && IS_EXT(out) && FROM_WED(skb))
return 0;
//if (!IS_WHNAT(out) && IS_EXT(out) && FROM_WED(skb))
// return 0;
trace_printk("[%s] case hit, %x-->%s, reason=%x\n", __func__,
skb_hnat_iface(skb), out->name, skb_hnat_reason(skb));