aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-15 20:48:45 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-15 20:48:45 +0000
commite96c649a255f69713b4c73f5bc18172969618ee8 (patch)
tree149852dd3a0916f1c51a825d230c30f0a861b428 /networking
parente377ede02afbefca3b18a09c832c15b8a2be5548 (diff)
downloadbusybox-w32-e96c649a255f69713b4c73f5bc18172969618ee8.tar.gz
busybox-w32-e96c649a255f69713b4c73f5bc18172969618ee8.tar.bz2
busybox-w32-e96c649a255f69713b4c73f5bc18172969618ee8.zip
Don't confuse people. If the run 'ifconfig' and they didn't
compile with BB_FEATURE_IFCONFIG_STATUS turned on, it will now print a message telling them as much. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2103 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index 75bcf38e8..704909c69 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -15,7 +15,7 @@
15 * Foundation; either version 2 of the License, or (at 15 * Foundation; either version 2 of the License, or (at
16 * your option) any later version. 16 * your option) any later version.
17 * 17 *
18 * $Id: ifconfig.c,v 1.8 2001/03/12 09:57:59 mjn3 Exp $ 18 * $Id: ifconfig.c,v 1.9 2001/03/15 20:48:45 andersen Exp $
19 * 19 *
20 */ 20 */
21 21
@@ -278,7 +278,7 @@ int ifconfig_main(int argc, char **argv)
278#ifdef BB_FEATURE_IFCONFIG_STATUS 278#ifdef BB_FEATURE_IFCONFIG_STATUS
279 return display_interfaces(argc ? *argv : NULL); 279 return display_interfaces(argc ? *argv : NULL);
280#else 280#else
281 show_usage(); 281 error_msg_and_die( "ifconfig was not compiled with interface status display support.");
282#endif 282#endif
283 } 283 }
284 284