commit | f544aa495490b12540400d89a2bb60f186564bcb | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Mon Dec 07 13:36:47 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Tue Dec 08 12:21:15 2015 +0100 |
tree | 716bc8ef3400b5286d4860fc69ceb686b9f9a819 | |
parent | 94927e3aa0406e54d2c58d346e18f387d13f9005 [diff] |
gtphub: log: limit length of hex dumps. The debug log prints the received/sent bytes in hex. When this data surpasses the buffer size available for the log string (4096), the log is truncated and lacks a newline character. Limit the amount of dumped bytes to 1000. Sponsored-by: On-Waves ehi