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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user