def disable_redirect_rules(ipv6=False):
    run_iptables_cmd("-t nat -D PREROUTING -j %s" % REDIRECT_CHAIN,
            ipv6=ipv6, ignore_failed=True)
    run_iptables_cmd("-t nat -F %s" % REDIRECT_CHAIN, ipv6=ipv6, ignore_failed=True)
    run_iptables_cmd(REDIRECT_CHAIN % "-t nat -X %s", ipv6=ipv6, ignore_failed=True)
dataset/ETHPy150Open google/nogotofail/nogotofail/mitm/util/routing.py/disable_redirect_rules/swapped operands of `%`