commit | 36948bf7c71d89746314e93ffe8f3eb2c2fbc5ea | [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 | 4d2b3ff6a235ff42ba839ca782f187a321c3e6a4 [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