diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-02-22 04:31:49 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-04-04 22:57:14 +0200 |
commit | 44e8cf303b1e54752637725d55d01811e05ed482 (patch) | |
tree | bfd86da036cb6fe1f4eb12c1544f8b8df88ea937 /src/libsystemd-network/icmp6-util.c | |
parent | network/ndisc: remember the latest RA from the default router (diff) | |
download | systemd-44e8cf303b1e54752637725d55d01811e05ed482.tar.xz systemd-44e8cf303b1e54752637725d55d01811e05ed482.zip |
sd-ndisc: add basic support of Redirect message
This makes sd-ndisc support Redirect message defined in RFC 4861.
Diffstat (limited to 'src/libsystemd-network/icmp6-util.c')
-rw-r--r-- | src/libsystemd-network/icmp6-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/icmp6-util.c b/src/libsystemd-network/icmp6-util.c index 44c15f9044..070e94add1 100644 --- a/src/libsystemd-network/icmp6-util.c +++ b/src/libsystemd-network/icmp6-util.c @@ -43,6 +43,7 @@ int icmp6_bind(int ifindex, bool is_router) { }; ICMP6_FILTER_SETPASS(ND_ROUTER_ADVERT, &filter); ICMP6_FILTER_SETPASS(ND_NEIGHBOR_ADVERT, &filter); + ICMP6_FILTER_SETPASS(ND_REDIRECT, &filter); } s = socket(AF_INET6, SOCK_RAW | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_ICMPV6); |