aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-13 22:07:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-13 22:07:21 +0000
commitf7fcca4af7593218f2185e69715ab3ae16c6cf29 (patch)
tree75cbad47242d5fe4bd1ee166e1966f21656f7019 /networking
parent1d6a4aec2cbe09ba21a6b5f8dc5dec7d341f7ba1 (diff)
downloadbusybox-f7fcca4af7593218f2185e69715ab3ae16c6cf29.tar.gz
sourse_route_list -> source_route_list
Diffstat (limited to 'networking')
-rw-r--r--networking/traceroute.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 41a6d6d48..b4cca25b0 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -944,7 +944,7 @@ int traceroute_main(int argc, char **argv)
int first_ttl = 1;
char *first_ttl_str;
#if ENABLE_FEATURE_TRACEROUTE_SOURCE_ROUTE
- llist_t *sourse_route_list = NULL;
+ llist_t *source_route_list = NULL;
#endif
PTR_TO_GLOBALS = xzalloc(sizeof(G));
@@ -965,7 +965,7 @@ int traceroute_main(int argc, char **argv)
, &tos_str, &device, &max_ttl_str, &port_str, &nprobes_str
, &source, &waittime_str, &pausemsecs_str, &first_ttl_str
#if ENABLE_FEATURE_TRACEROUTE_SOURCE_ROUTE
- , &sourse_route_list
+ , &source_route_list
#endif
);
@@ -999,18 +999,18 @@ int traceroute_main(int argc, char **argv)
first_ttl = xatou_range(first_ttl_str, 1, 255);
#if ENABLE_FEATURE_TRACEROUTE_SOURCE_ROUTE
- if (sourse_route_list) {
+ if (source_route_list) {
llist_t *l_sr;
- l_sr = sourse_route_list;
+ l_sr = source_route_list;
while (l_sr) {
if (lsrr >= NGATEWAYS)
bb_error_msg_and_die("no more than %d gateways", NGATEWAYS);
getaddr(gwlist + lsrr, l_sr->data);
++lsrr;
l_sr = l_sr->link;
- free(sourse_route_list);
- sourse_route_list = l_sr;
+ free(source_route_list);
+ source_route_list = l_sr;
}
optlen = (lsrr + 1) * sizeof(gwlist[0]);
}