summaryrefslogtreecommitdiff
path: root/networking/netstat.c
diff options
context:
space:
mode:
authorGlenn L McGrath2002-11-26 09:02:06 +0000
committerGlenn L McGrath2002-11-26 09:02:06 +0000
commit8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b (patch)
tree8bdc5ce06345033fdb627a10abf4c3cd6b924e82 /networking/netstat.c
parentc5dced17c55134252928c728a1ae15f038211df5 (diff)
downloadbusybox-8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b.zip
busybox-8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b.tar.gz
use #ifdef CONFIG_* instead of #if CONFIG_*
Diffstat (limited to 'networking/netstat.c')
-rw-r--r--networking/netstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/netstat.c b/networking/netstat.c
index efca422..d2b2d5e 100644
--- a/networking/netstat.c
+++ b/networking/netstat.c
@@ -627,19 +627,19 @@ int netstat_main(int argc, char **argv)
}
if (inet && flags&NETSTAT_TCP)
do_info(_PATH_PROCNET_TCP,"AF INET (tcp)",tcp_do_one);
-#if CONFIG_FEATURE_IPV6
+#ifdef CONFIG_FEATURE_IPV6
if (inet6 && flags&NETSTAT_TCP)
do_info(_PATH_PROCNET_TCP6,"AF INET6 (tcp)",tcp_do_one);
#endif
if (inet && flags&NETSTAT_UDP)
do_info(_PATH_PROCNET_UDP,"AF INET (udp)",udp_do_one);
-#if CONFIG_FEATURE_IPV6
+#ifdef CONFIG_FEATURE_IPV6
if (inet6 && flags&NETSTAT_UDP)
do_info(_PATH_PROCNET_UDP6,"AF INET6 (udp)",udp_do_one);
#endif
if (inet && flags&NETSTAT_RAW)
do_info(_PATH_PROCNET_RAW,"AF INET (raw)",raw_do_one);
-#if CONFIG_FEATURE_IPV6
+#ifdef CONFIG_FEATURE_IPV6
if (inet6 && flags&NETSTAT_RAW)
do_info(_PATH_PROCNET_RAW6,"AF INET6 (raw)",raw_do_one);
#endif