diff options
| author | Mike RE Mallin <mremallin@gmail.com> | 2024-05-21 10:09:02 -0400 |
|---|---|---|
| committer | Mike RE Mallin <mremallin@gmail.com> | 2024-05-31 10:27:22 -0400 |
| commit | b69ec60dc6e1f7942a5818b9d7154c1caa0f4441 (patch) | |
| tree | b36a8b42c725e4a5a276b7c04c2913d7486960ec /lib/stream.h | |
| parent | b30523d3c9cdec301653d0c5d3dc689eda5f3fba (diff) | |
lib: Make the ip arg const in stream_put_ipaddr
Signed-off-by: Mike RE Mallin <mremallin@gmail.com>
Diffstat (limited to 'lib/stream.h')
| -rw-r--r-- | lib/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h index 61eaa46c95..e48cedc613 100644 --- a/lib/stream.h +++ b/lib/stream.h @@ -175,7 +175,7 @@ extern int stream_putq(struct stream *, uint64_t); extern int stream_putq_at(struct stream *, size_t, uint64_t); extern int stream_put_ipv4(struct stream *, uint32_t); extern int stream_put_in_addr(struct stream *s, const struct in_addr *addr); -extern bool stream_put_ipaddr(struct stream *s, struct ipaddr *ip); +extern bool stream_put_ipaddr(struct stream *s, const struct ipaddr *ip); extern int stream_put_in_addr_at(struct stream *s, size_t putp, const struct in_addr *addr); extern int stream_put_in6_addr_at(struct stream *s, size_t putp, |
