summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-ipv6-proxy-ndp.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-26 17:19:24 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-26 17:28:28 +0100
commit4816e7bb75cc573d188f325f14eb59a90357eec2 (patch)
treefe655a43cd6f7b3791c47bac045f376c1ebe376f /src/network/networkd-ipv6-proxy-ndp.c
parenttest-network: add tests for IPv6ProxyNDPAddress= (diff)
downloadsystemd-4816e7bb75cc573d188f325f14eb59a90357eec2.tar.xz
systemd-4816e7bb75cc573d188f325f14eb59a90357eec2.zip
network: drop wrong flag for neighbor entry
NLM_F_REQUEST is a nlmsg flag, not a neighbor flag.
Diffstat (limited to '')
-rw-r--r--src/network/networkd-ipv6-proxy-ndp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-ipv6-proxy-ndp.c b/src/network/networkd-ipv6-proxy-ndp.c
index 0b57c6c4db..7a370e9318 100644
--- a/src/network/networkd-ipv6-proxy-ndp.c
+++ b/src/network/networkd-ipv6-proxy-ndp.c
@@ -38,7 +38,7 @@ static int ipv6_proxy_ndp_address_configure(Link *link, const struct in6_addr *a
if (r < 0)
return log_link_error_errno(link, r, "Could not create RTM_NEWNEIGH message: %m");
- r = sd_rtnl_message_neigh_set_flags(req, NLM_F_REQUEST | NTF_PROXY);
+ r = sd_rtnl_message_neigh_set_flags(req, NTF_PROXY);
if (r < 0)
return log_link_error_errno(link, r, "Could not set neighbor flags: %m");