diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-04-04 22:54:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 22:54:12 +0200 |
commit | 36ca167220eb5d89f69478aeff96f8d0b6ca438b (patch) | |
tree | 67c6cfec3f438187d6e1e3e63f2a69fd1f41a4b8 /src/libsystemd-network/icmp6-util.c | |
parent | udevadm-test: also show security labels if specified (diff) | |
parent | netowrk/ndisc: drop NDisc configurations when received NA without Router flag (diff) | |
download | systemd-36ca167220eb5d89f69478aeff96f8d0b6ca438b.tar.xz systemd-36ca167220eb5d89f69478aeff96f8d0b6ca438b.zip |
Merge pull request #31373 from yuwata/network-neighbor-advertisement
network: add basic support of neighbor advertisement
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 7b3786e518..44c15f9044 100644 --- a/src/libsystemd-network/icmp6-util.c +++ b/src/libsystemd-network/icmp6-util.c @@ -42,6 +42,7 @@ int icmp6_bind(int ifindex, bool is_router) { .ipv6mr_interface = ifindex, }; ICMP6_FILTER_SETPASS(ND_ROUTER_ADVERT, &filter); + ICMP6_FILTER_SETPASS(ND_NEIGHBOR_ADVERT, &filter); } s = socket(AF_INET6, SOCK_RAW | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_ICMPV6); |