Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fada80df authored by John Michelau's avatar John Michelau Committed by Android Git Automerger
Browse files

am ac74551b: Disable name lookups for dumpstate calls to "iptables -L"

* commit 'ac74551b':
  Disable name lookups for dumpstate calls to "iptables -L"
parents bfce7034 ac74551b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,8 +113,8 @@ static void dumpstate() {
    dump_file("NETWORK ROUTES", "/proc/net/route");
    dump_file("NETWORK ROUTES IPV6", "/proc/net/ipv6_route");
    dump_file("ARP CACHE", "/proc/net/arp");
    run_command("IPTABLES", 10, "su", "root", "iptables", "-L", NULL);
    run_command("IPTABLE NAT", 10, "su", "root", "iptables", "-t", "nat", "-L", NULL);
    run_command("IPTABLES", 10, "su", "root", "iptables", "-L", "-n", NULL);
    run_command("IPTABLE NAT", 10, "su", "root", "iptables", "-t", "nat", "-L", "-n", NULL);

    run_command("WIFI NETWORKS", 20,
            "su", "root", "wpa_cli", "list_networks", NULL);