mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
Refine legacy rule detection to avoid false positives generated by the iptables-nft compatibility layer on fw4 systems. The logic now prioritizes `iptables-legacy-save` for accuracy, while retaining `iptables-save` as a fallback to ensure backward compatibility with fw3. Signed-off-by: Tokisaki-Galaxy <starmaster@outlook.sg>