commit | 2b4cc7393268622ac3de071435a6e4ab857342df | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Feb 09 10:35:38 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Mar 10 17:44:22 2014 +0900 |
tree | ef8678294829041cf1ed9c0ac3c52c36e2fa31d7 | |
parent | 13a58c4859164d9f16e124b0f85c35a061dec76d [diff] [blame] |
DO NOT MERGE: Support translating fragmented packets. Bug: 11542311 Change-Id: I5dd29805e12b919ae3105b6128aaedefd7e78b48
diff --git a/dump.c b/dump.c index 94e4796..ba5fa3e 100644 --- a/dump.c +++ b/dump.c
@@ -220,6 +220,7 @@ char output[PACKETLEN*3+2]; size_t i; + output[0] = '\0'; for(i = 0; i < len && i < PACKETLEN; i++) { snprintf(output + i*3, 4, " %02x", (uint8_t)data[i]); }