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 in 7f77917c0e
.
Fixes #23001.
This commit is contained in:
parent
219ff0cb1e
commit
239adf0384
@ -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