aboutsummaryrefslogtreecommitdiff
path: root/networking/ping.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /networking/ping.c
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ping.c b/networking/ping.c
index ef31e000b..94fb007f5 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -478,7 +478,7 @@ static void sendping_tail(void (*sp)(int), int size_pkt)
} else { /* -c NN, and all NN are sent (and no deadline) */
/* Wait for the last ping to come back.
* -W timeout: wait for a response in seconds.
- * Affects only timeout in absense of any responses,
+ * Affects only timeout in absence of any responses,
* otherwise ping waits for two RTTs. */
unsigned expire = timeout;
@@ -712,7 +712,7 @@ static void ping4(len_and_sockaddr *lsa)
if (opt_ttl != 0) {
setsockopt_int(pingsock, IPPROTO_IP, IP_TTL, opt_ttl);
- /* above doesnt affect packets sent to bcast IP, so... */
+ /* above doesn't affect packets sent to bcast IP, so... */
setsockopt_int(pingsock, IPPROTO_IP, IP_MULTICAST_TTL, opt_ttl);
}