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

Commit 9f5e6990 authored by Erik Kline's avatar Erik Kline Committed by android-build-merger
Browse files

Merge "Add comment with packet tracker debugging tip" am: 40aa5ee5 am: 17dd8723

am: 663269ba

Change-Id: Iacf172a6b6e1b62bc84af8b5fcdd1745acfe987f
parents 2a226425 663269ba
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();