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

Commit c6f796aa authored by Erik Kline's avatar Erik Kline
Browse files

Add comment with packet tracker debugging tip

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - "adb shell dumpsys wifi ipmanager" shows the debugging tip

Change-Id: Ifcccbdd81a0fc8beb7801ec7c3f78e8a941bc72b
parent b2afa1ed
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -631,6 +631,13 @@ public class IpManager extends StateMachine {

        pw.println();
        pw.println(mTag + " connectivity packet log:");
        pw.println();
        pw.println("Debug with python and scapy via:");
        pw.println("shell$ python");
        pw.println(">>> from scapy import all as scapy");
        pw.println(">>> scapy.Ether(\"<paste_hex_string>\".decode(\"hex\")).show2()");
        pw.println();

        pw.increaseIndent();
        mConnectivityPacketLog.readOnlyLocalLog().dump(fd, pw, args);
        pw.decreaseIndent();