mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 20:55:25 +00:00
lib: stream_hexdump takes const struct
Signed-off-by: Wesley Coakley <wcoakley@cumulusnetworks.com>
This commit is contained in:
parent
9d72660d67
commit
f1bc75dac6
@ -1122,7 +1122,7 @@ int stream_flush(struct stream *s, int fd)
|
||||
return nbytes;
|
||||
}
|
||||
|
||||
void stream_hexdump(struct stream *s)
|
||||
void stream_hexdump(const struct stream *s)
|
||||
{
|
||||
zlog_hexdump(s->data, s->endp);
|
||||
}
|
||||
|
@ -253,7 +253,7 @@ extern int stream_flush(struct stream *, int);
|
||||
extern int stream_empty(struct stream *); /* is the stream empty? */
|
||||
|
||||
/* debugging */
|
||||
extern void stream_hexdump(struct stream *);
|
||||
extern void stream_hexdump(const struct stream *s);
|
||||
|
||||
/* deprecated */
|
||||
extern uint8_t *stream_pnt(struct stream *);
|
||||
|
Loading…
Reference in New Issue
Block a user