summaryrefslogtreecommitdiff
path: root/networking/ifconfig.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-04 07:59:51 +0000
committerDenis Vlasenko2008-06-04 07:59:51 +0000
commit3b162ecdf6955e9610ec051e21b91a3efe48a030 (patch)
treeb2b3e75e8dfb4e32fc4d67af5682ed4ea8b800bd /networking/ifconfig.c
parent630a7f75e836b2d8669e571af9c5aa5b180c6ca8 (diff)
downloadbusybox-3b162ecdf6955e9610ec051e21b91a3efe48a030.zip
busybox-3b162ecdf6955e9610ec051e21b91a3efe48a030.tar.gz
networking/interface.c: fix indentation
Diffstat (limited to 'networking/ifconfig.c')
-rw-r--r--networking/ifconfig.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index 965fca3..e999741 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -252,20 +252,13 @@ static const struct options OptArray[] = {
/*
* A couple of prototypes.
*/
-
#if ENABLE_FEATURE_IFCONFIG_HW
static int in_ether(const char *bufp, struct sockaddr *sap);
-# if ENABLE_FEATURE_HWIB
-extern int in_ib(const char *bufp, struct sockaddr *sap);
-# else
-# define in_ib(a, b) 1 /* fail */
-# endif
#endif
/*
* Our main function.
*/
-
int ifconfig_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int ifconfig_main(int argc, char **argv)
{
@@ -436,8 +429,7 @@ int ifconfig_main(int argc, char **argv)
bb_show_usage();
/*safe_strncpy(host, *argv, sizeof(host));*/
host = *argv;
- if (hw_class == 1 ? in_ether(host, &sa)
- : in_ib(host, &sa))
+ if (hw_class == 1 ? in_ether(host, &sa) : in_ib(host, &sa))
bb_error_msg_and_die("invalid hw-addr %s", host);
p = (char *) &sa;
}