summaryrefslogtreecommitdiffstats
path: root/lib/stream.h
diff options
context:
space:
mode:
authorWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 16:41:10 +0200
committerWesley Coakley <wcoakley@cumulusnetworks.com>2020-05-28 16:48:56 +0200
commit9d72660d671739452d9825609fbf73ec7245f2e8 (patch)
tree021669525a8c4c6ab37205ad8ccc4d671f2f011f /lib/stream.h
parentMerge pull request #6474 from ton31337/fix/doc_bgp_community (diff)
downloadfrr-9d72660d671739452d9825609fbf73ec7245f2e8.tar.xz
frr-9d72660d671739452d9825609fbf73ec7245f2e8.zip
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 5c7d94fab..f84f02885 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 *);