You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - NeighSet says in that comment that it will create or update an existing ARP entry (the semantics of NLM_F_CREATE not ORed with any other flags). However, the code ORs that with NLM_F_REPLACE.
Hi - NeighSet says in that comment that it will create or update an existing ARP entry (the semantics of NLM_F_CREATE not ORed with any other flags). However, the code ORs that with NLM_F_REPLACE.
Per https://docs.kernel.org/userspace-api/netlink/intro.html#other-request-type-specific-flags, that means it will fail if the neighbor does not exist. I can confirm from using this code that this is the case.
Happy to open a PR to either change the doc comment, or change the flags so the behavior matches the doc comment!
The text was updated successfully, but these errors were encountered: