diff options
Diffstat (limited to 'ping.c')
-rw-r--r-- | ping.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * $Id: ping.c,v 1.17 2000/06/19 18:51:53 andersen Exp $ | 3 | * $Id: ping.c,v 1.18 2000/07/06 23:10:29 andersen Exp $ |
4 | * Mini ping implementation for busybox | 4 | * Mini ping implementation for busybox |
5 | * | 5 | * |
6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> | 6 | * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> |
@@ -173,7 +173,7 @@ static int in_cksum(unsigned short *buf, int sz) | |||
173 | } | 173 | } |
174 | 174 | ||
175 | /* simple version */ | 175 | /* simple version */ |
176 | #ifdef BB_SIMPLE_PING | 176 | #ifdef BB_FEATURE_SIMPLE_PING |
177 | static const char *ping_usage = "ping host\n" | 177 | static const char *ping_usage = "ping host\n" |
178 | #ifndef BB_FEATURE_TRIVIAL_HELP | 178 | #ifndef BB_FEATURE_TRIVIAL_HELP |
179 | "\nSend ICMP ECHO_REQUEST packets to network hosts\n" | 179 | "\nSend ICMP ECHO_REQUEST packets to network hosts\n" |
@@ -265,7 +265,7 @@ extern int ping_main(int argc, char **argv) | |||
265 | exit(TRUE); | 265 | exit(TRUE); |
266 | } | 266 | } |
267 | 267 | ||
268 | #else /* ! BB_SIMPLE_PING */ | 268 | #else /* ! BB_FEATURE_SIMPLE_PING */ |
269 | /* full(er) version */ | 269 | /* full(er) version */ |
270 | static const char *ping_usage = "ping [OPTION]... host\n" | 270 | static const char *ping_usage = "ping [OPTION]... host\n" |
271 | #ifndef BB_FEATURE_TRIVIAL_HELP | 271 | #ifndef BB_FEATURE_TRIVIAL_HELP |
@@ -561,7 +561,7 @@ extern int ping_main(int argc, char **argv) | |||
561 | ping(*argv); | 561 | ping(*argv); |
562 | return(TRUE); | 562 | return(TRUE); |
563 | } | 563 | } |
564 | #endif /* ! BB_SIMPLE_PING */ | 564 | #endif /* ! BB_FEATURE_SIMPLE_PING */ |
565 | 565 | ||
566 | /* | 566 | /* |
567 | * Copyright (c) 1989 The Regents of the University of California. | 567 | * Copyright (c) 1989 The Regents of the University of California. |