diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-19 12:11:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-25 11:23:19 +0200 |
commit | e0a18b74a3b54bd9383b827139cea0df606e4378 (patch) | |
tree | d73f850bd63b1b4d4b56a571880ef36c77ff499e /src/libsystemd-network/dhcp6-internal.h | |
parent | 4e412d2684519b6054a47866196b88d58b2fa3cf (diff) | |
download | systemd-e0a18b74a3b54bd9383b827139cea0df606e4378.tar.gz |
dhcp6: constify things where we can
Diffstat (limited to 'src/libsystemd-network/dhcp6-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp6-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp6-internal.h b/src/libsystemd-network/dhcp6-internal.h index 63d8fe35f8..157fc0aadd 100644 --- a/src/libsystemd-network/dhcp6-internal.h +++ b/src/libsystemd-network/dhcp6-internal.h @@ -84,8 +84,8 @@ typedef struct DHCP6IA DHCP6IA; int dhcp6_option_append(uint8_t **buf, size_t *buflen, uint16_t code, size_t optlen, const void *optval); -int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, DHCP6IA *ia); -int dhcp6_option_append_pd(uint8_t *buf, size_t len, DHCP6IA *pd); +int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, const DHCP6IA *ia); +int dhcp6_option_append_pd(uint8_t *buf, size_t len, const DHCP6IA *pd); int dhcp6_option_append_fqdn(uint8_t **buf, size_t *buflen, const char *fqdn); int dhcp6_option_parse(uint8_t **buf, size_t *buflen, uint16_t *optcode, size_t *optlen, uint8_t **optvalue); |