diff options
| author | Hungming Chen <nuccachen@google.com> | 2021-06-29 16:10:54 +0800 |
|---|---|---|
| committer | Hungming Chen <nuccachen@google.com> | 2021-06-29 16:21:49 +0800 |
| commit | e7dff2f95593b012db7dc0902303183a34cfab8e (patch) | |
| tree | 6cfc8ff0e2c46213bdd1cea42f0272ab47f88bc1 /tests/unit/java/android/net/NetworkStatsTest.java | |
| parent | b0c9e64d33f55216d75fc705c5a2775f69543257 (diff) | |
Dump the unused IPv4 BPF rule age correctly
Print a dash for the unused "lastUsed" of the rule.
The age should not equal the bootime if the rule has never been
updated the "lastUsed" field.
Format:
[inDstMac] iif(iface) src -> nat -> dst [outDstMac] age
[00:00:00:00:00:00] 14(rmnet0) 140.112.8.116:443
-> 30(30) 10.170.56.233:43720
-> 192.168.45.236:43720 [be:34:40:28:33:5f] -
Test: dumpsys tethering
Change-Id: Ie771becd2f72518cf02a86e5ae228315785752a5
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsTest.java')
0 files changed, 0 insertions, 0 deletions
