diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-03-02 17:33:37 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-07 01:40:26 +0100 |
commit | 1f806fc2c86f4d821ef9bfb2df4d841b7a2e56e4 (patch) | |
tree | 431864dad885a7b44e3ab99aa0fed2a22d00eafd /lib/log.h | |
parent | Merge pull request #249 from opensourcerouting/ldpd-rfcs (diff) | |
download | frr-1f806fc2c86f4d821ef9bfb2df4d841b7a2e56e4.tar.xz frr-1f806fc2c86f4d821ef9bfb2df4d841b7a2e56e4.zip |
lib: add zlog_sanitize function
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | lib/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -188,6 +188,7 @@ extern size_t quagga_timestamp(int timestamp_precision /* # subsecond digits */, char *buf, size_t buflen); extern void zlog_hexdump(const void *mem, unsigned int len); +extern const char *zlog_sanitize(char *buf, size_t bufsz, const void *in, size_t inlen); extern int |