summaryrefslogtreecommitdiff
path: root/networking/route.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-21 20:34:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-21 20:34:21 +0000
commit7ca3921e5e8aa64533d4d7a678046676ae6574ec (patch)
tree9736975246e991e626e025ab1c98d9f5536e9007 /networking/route.c
parent5096246ffb22b46b7d9e9debf035112a11d339b3 (diff)
downloadbusybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.gz
busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.tar.bz2
busybox-w32-7ca3921e5e8aa64533d4d7a678046676ae6574ec.zip
bb_INET_default[] is really just a const "default",
nothing INET-specific
Diffstat (limited to 'networking/route.c')
-rw-r--r--networking/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/route.c b/networking/route.c
index c99405d72..f343d064c 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -186,7 +186,7 @@ static void INET_setroute(int action, char **args)
186#endif 186#endif
187 } else { 187 } else {
188 /* Default netmask. */ 188 /* Default netmask. */
189 netmask = bb_INET_default; 189 netmask = bb_str_default;
190 } 190 }
191 /* Prefer hostname lookup is -host flag (xflag==1) was given. */ 191 /* Prefer hostname lookup is -host flag (xflag==1) was given. */
192 isnet = INET_resolve(target, (struct sockaddr_in *) &rt.rt_dst, 192 isnet = INET_resolve(target, (struct sockaddr_in *) &rt.rt_dst,
@@ -346,7 +346,7 @@ static void INET6_setroute(int action, char **args)
346 /* We know args isn't NULL from the check in route_main. */ 346 /* We know args isn't NULL from the check in route_main. */
347 const char *target = *args++; 347 const char *target = *args++;
348 348
349 if (strcmp(target, bb_INET_default) == 0) { 349 if (strcmp(target, bb_str_default) == 0) {
350 prefix_len = 0; 350 prefix_len = 0;
351 memset(&sa6, 0, sizeof(sa6)); 351 memset(&sa6, 0, sizeof(sa6));
352 } else { 352 } else {