summaryrefslogtreecommitdiff
path: root/lib/stream.h
diff options
context:
space:
mode:
authorWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 10:41:10 -0400
committerWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 10:48:56 -0400
commit9d72660d671739452d9825609fbf73ec7245f2e8 (patch)
tree021669525a8c4c6ab37205ad8ccc4d671f2f011f /lib/stream.h
parent5308f267382773c2fff832932e3905c460738257 (diff)
zebra, lib: bugfix on zebra packet debugging
`debug zebra packet detail` dumps the full message whereas it had been dropping exactly 10 bytes, the size of the zebra header Signed-off-by: Wesley Coakley <wcoakley@cumulusnetworks.com>
Diffstat (limited to 'lib/stream.h')
-rw-r--r--lib/stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stream.h b/lib/stream.h
index 5c7d94fab8..f84f028852 100644
--- a/lib/stream.h
+++ b/lib/stream.h
@@ -252,6 +252,9 @@ extern void stream_reset(struct stream *);
extern int stream_flush(struct stream *, int);
extern int stream_empty(struct stream *); /* is the stream empty? */
+/* debugging */
+extern void stream_hexdump(struct stream *);
+
/* deprecated */
extern uint8_t *stream_pnt(struct stream *);