summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/ndisc-option.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-14 07:46:48 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-04-14 23:23:11 +0200
commitac336e754e93e59bc3bc0316ba65ec270db7e254 (patch)
tree1157df9c37d5ec78652c8cbb971602a554d28315 /src/libsystemd-network/ndisc-option.h
parentlibsystemd-network: make constant addresses type-safe (diff)
downloadsystemd-ac336e754e93e59bc3bc0316ba65ec270db7e254.tar.xz
systemd-ac336e754e93e59bc3bc0316ba65ec270db7e254.zip
sd-ndisc: make ndisc_send() and icmp6_send() take struct in6_addr
No functional change, just refactoring.
Diffstat (limited to 'src/libsystemd-network/ndisc-option.h')
-rw-r--r--src/libsystemd-network/ndisc-option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/ndisc-option.h b/src/libsystemd-network/ndisc-option.h
index da52858caa..d7bd86147b 100644
--- a/src/libsystemd-network/ndisc-option.h
+++ b/src/libsystemd-network/ndisc-option.h
@@ -327,4 +327,4 @@ static inline int ndisc_option_set_prefix64(
return ndisc_option_add_prefix64_internal(options, 0, prefixlen, prefix, lifetime, valid_until);
}
-int ndisc_send(int fd, const struct sockaddr_in6 *dst, const struct icmp6_hdr *hdr, Set *options, usec_t timestamp);
+int ndisc_send(int fd, const struct in6_addr *dst, const struct icmp6_hdr *hdr, Set *options, usec_t timestamp);