aliases: Don't call arpping to announce new IP addresses

I am not sure what the rationale is here, but we should probably not do
this. Other hosts on the network will be able to update their ARP caches
properly.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Michael Tremer
2022-06-29 18:27:24 +00:00
committed by Peter Müller
parent 6395bed8a4
commit 72696db892

View File

@@ -188,11 +188,6 @@ int main(void)
aliasip, red_netmask, intf, SCOPE);
safe_system(command);
// Send an ARP broadcast
snprintf(command, STRING_SIZE-1,
"/usr/sbin/arping -q -c 1 -w 1 -i %s -S %s %s",
intf, aliasip, default_gateway);
safe_system(command);
alias++;
}
return 0;