diff options
author | Glenn L McGrath | 2002-11-26 09:02:06 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-11-26 09:02:06 +0000 |
commit | 8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b (patch) | |
tree | 8bdc5ce06345033fdb627a10abf4c3cd6b924e82 /networking/route.c | |
parent | c5dced17c55134252928c728a1ae15f038211df5 (diff) | |
download | busybox-8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b.zip busybox-8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b.tar.gz |
use #ifdef CONFIG_* instead of #if CONFIG_*
Diffstat (limited to 'networking/route.c')
-rw-r--r-- | networking/route.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/networking/route.c b/networking/route.c index 5c4ce8c..d4c65f8 100644 --- a/networking/route.c +++ b/networking/route.c @@ -15,7 +15,7 @@ * Foundation; either version 2 of the License, or (at * your option) any later version. * - * $Id: route.c,v 1.18 2002/08/22 18:24:43 bug1 Exp $ + * $Id: route.c,v 1.19 2002/11/26 09:02:06 bug1 Exp $ * * displayroute() code added by Vladimir N. Oleynik <dzo@simtreas.ru> * adjustments by Larry Doolittle <LRDoolittle@lbl.gov> @@ -331,7 +331,7 @@ static int INET_setroute(int action, int options, char **args) return EXIT_SUCCESS; } -#if CONFIG_FEATURE_IPV6 +#ifdef CONFIG_FEATURE_IPV6 static int INET6_setroute(int action, int options, char **args) { struct in6_rtmsg rt; @@ -560,7 +560,7 @@ void displayroutes(int noresolve, int netstatfmt) } } -#if CONFIG_FEATURE_IPV6 +#ifdef CONFIG_FEATURE_IPV6 static void INET6_displayroutes(int noresolve) { char buff[256]; @@ -651,7 +651,7 @@ int route_main(int argc, char **argv) int opt; int what = 0; -#if CONFIG_FEATURE_IPV6 +#ifdef CONFIG_FEATURE_IPV6 int af = AF_INET; #endif @@ -669,7 +669,7 @@ int route_main(int argc, char **argv) extended = 1; break; case 'A': -#if CONFIG_FEATURE_IPV6 +#ifdef CONFIG_FEATURE_IPV6 if (strcmp(optarg, "inet6") == 0) af = AF_INET6; break; @@ -679,7 +679,7 @@ int route_main(int argc, char **argv) } } -#if CONFIG_FEATURE_IPV6 +#ifdef CONFIG_FEATURE_IPV6 if (af == AF_INET6) INET6_displayroutes(*argv != NULL); else @@ -699,7 +699,7 @@ int route_main(int argc, char **argv) show_usage(); } -#if CONFIG_FEATURE_IPV6 +#ifdef CONFIG_FEATURE_IPV6 if (af == AF_INET6) return INET6_setroute(what, 0, argv + 2); #endif |