]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
aliases: Don't call arpping to announce new IP addresses
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 Jun 2022 18:27:24 +0000 (18:27 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 6 Jul 2022 10:01:50 +0000 (10:01 +0000)
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>
src/misc-progs/setaliases.c

index 4d59aa0a8caf29975f1122b225ff6249dbfb396e..a541a4fd20b418b0629b9515c9875455d5dac9e5 100644 (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;