mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
* networking/ping.c (hostname): Removed.
[CONFIG_FEATURE_FANCY_PING] (noresp): Moved from here . . .
[CONFIG_FEATURE_FANCY_PING] (ping:noresp): . . . to here.
Use H->h_name, not hostname.
[CONFIG_FEATURE_FANCY_PING] (ping): Do not copy H->h_name into
hostname.
Use H->h_name directly.
[!CONFIG_FEATURE_FANCY_PING] (hostent): New global variable.
[!CONFIG_FEATURE_FANCY_PING] (pingstats): Use hostent in favor
of the now obsolete hostname global variable.
[!CONFIG_FEATURE_FANCY_PING] (ping): Likewise.
No need to copy H; use hostent instead.
[!CONFIG_FEATURE_FANCY_PING] (ntransmitted, nreceived,
nrepeats, pingcount, myid, options, tmax, tsum): Removed
superfluous zero initializers.
|
||
|---|---|---|
| .. | ||
| config.in | ||
| hostname.c | ||
| ifconfig.c | ||
| Makefile | ||
| nc.c | ||
| netstat.c | ||
| nslookup.c | ||
| ping.c | ||
| route.c | ||
| telnet.c | ||
| tftp.c | ||
| traceroute.c | ||
| wget.c | ||