[2/2] aliases: Don't call arpping to announce new IP addresses
Commit Message
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>
---
src/misc-progs/setaliases.c | 5 -----
1 file changed, 5 deletions(-)
Comments
Acked-by: Peter Müller <peter.mueller@ipfire.org>
> 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>
> ---
> 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;
@@ -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;