summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/icmp6-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-04-04 22:54:12 +0200
committerGitHub <noreply@github.com>2024-04-04 22:54:12 +0200
commit36ca167220eb5d89f69478aeff96f8d0b6ca438b (patch)
tree67c6cfec3f438187d6e1e3e63f2a69fd1f41a4b8 /src/libsystemd-network/icmp6-util.c
parentudevadm-test: also show security labels if specified (diff)
parentnetowrk/ndisc: drop NDisc configurations when received NA without Router flag (diff)
downloadsystemd-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.c1
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);