[PATCH] ping: implement (ignore) -n option

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 14 23:12:31 UTC 2013


On Thursday 14 March 2013 14:56, Michael Stapelberg wrote:
> From: Michael Stapelberg <michael at stapelberg.de>
> 
> I am used to typing ping -n because it doesn’t rely on DNS and therefore
> is more appropriate in many debugging situations. When working on
> OpenWrt or other embedded devices using BusyBox, I always get frustrated
> because ping -n does not work, so I _always_ type ping -n, see the
> error, go back, correct the error, then get the actual ping reply.
> 
> Given that BusyBox ping doesn’t resolve hostnames anyway, I think it’s a
> good idea to simply ignore -n, but don’t error out when -n is provided.

Applied slightly different version. Thanks!


More information about the busybox mailing list