diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-26 21:54:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-26 22:31:15 +0100 |
commit | 83ef9d141bc15f614993cf04624c44ac1848c2fe (patch) | |
tree | f410e82be629f774adcc0c32e73b5ecb546a838d /src | |
parent | sd-radv: use ether_addr_is_null() where appropriate (diff) | |
download | systemd-83ef9d141bc15f614993cf04624c44ac1848c2fe.tar.xz systemd-83ef9d141bc15f614993cf04624c44ac1848c2fe.zip |
sd-radv: drop const from non-ptr argument
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-network/sd-radv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c index a7bc422db0..e853dc8be6 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -113,8 +113,7 @@ static sd_radv *radv_free(sd_radv *ra) { DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC(sd_radv, sd_radv, radv_free); -static int radv_send(sd_radv *ra, const struct in6_addr *dst, - const uint32_t router_lifetime) { +static int radv_send(sd_radv *ra, const struct in6_addr *dst, uint32_t router_lifetime) { sd_radv_prefix *p; struct sockaddr_in6 dst_addr = { .sin6_family = AF_INET6, |