summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/sd-radv.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-14 07:42:58 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-14 23:23:11 +0200
commit2c28eb0266ac750d744487c370657fc3d4ec8e6a (patch)
treebe8aa076323922970d0c50cb710928ee83b42ed2 /src/libsystemd-network/sd-radv.c
parentdhcp6-network: constify arguments (diff)
downloadsystemd-2c28eb0266ac750d744487c370657fc3d4ec8e6a.tar.xz
systemd-2c28eb0266ac750d744487c370657fc3d4ec8e6a.zip
libsystemd-network: make constant addresses type-safe
No functional change, just refactoring.
Diffstat (limited to 'src/libsystemd-network/sd-radv.c')
-rw-r--r--src/libsystemd-network/sd-radv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c
index cde45388b7..316fcf1d2b 100644
--- a/src/libsystemd-network/sd-radv.c
+++ b/src/libsystemd-network/sd-radv.c
@@ -134,7 +134,7 @@ static int radv_send_router(sd_radv *ra, const struct in6_addr *dst, usec_t life
struct sockaddr_in6 dst_addr = {
.sin6_family = AF_INET6,
- .sin6_addr = IN6ADDR_ALL_NODES_MULTICAST_INIT,
+ .sin6_addr = IN6_ADDR_ALL_NODES_MULTICAST,
};
struct nd_router_advert adv = {
.nd_ra_type = ND_ROUTER_ADVERT,