diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-26 17:19:24 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-26 17:28:28 +0100 |
commit | 4816e7bb75cc573d188f325f14eb59a90357eec2 (patch) | |
tree | fe655a43cd6f7b3791c47bac045f376c1ebe376f /src/network/networkd-ipv6-proxy-ndp.c | |
parent | test-network: add tests for IPv6ProxyNDPAddress= (diff) | |
download | systemd-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.c | 2 |
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"); |