mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
committed by
Peter Müller
parent
6395bed8a4
commit
72696db892
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user