mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
sd-ipv4acd: actually drop the arp packet from one of the host interface
Fixes a bug in7f77917c0e
. Fixes #23001. (cherry picked from commit239adf0384
)
This commit is contained in:
parent
e3d57bc301
commit
9f689fda54
@ -329,7 +329,7 @@ static bool ipv4acd_arp_conflict(sd_ipv4acd *acd, const struct ether_arp *arp, b
|
||||
if (acd->check_mac_callback &&
|
||||
acd->check_mac_callback(acd, (const struct ether_addr*) arp->arp_sha, acd->check_mac_userdata) > 0)
|
||||
/* sender hardware is one of the host's interfaces, ignoring. */
|
||||
return true;
|
||||
return false;
|
||||
|
||||
return true; /* conflict! */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user