From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 2/2] aliases: Don't call arpping to announce new IP addresses Date: Wed, 29 Jun 2022 18:27:24 +0000 Message-ID: <20220629182724.392049-2-michael.tremer@ipfire.org> In-Reply-To: <20220629182724.392049-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3722491652452171518==" List-Id: --===============3722491652452171518== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- src/misc-progs/setaliases.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/misc-progs/setaliases.c b/src/misc-progs/setaliases.c index 4d59aa0a8..a541a4fd2 100644 --- a/src/misc-progs/setaliases.c +++ b/src/misc-progs/setaliases.c @@ -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; -- 2.30.2 --===============3722491652452171518==--