aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-20 09:23:34 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-20 09:23:34 +0000
commit0cc7e6236a897cb09a78b61a21d2c16ad423f4ce (patch)
tree5e4a456e8744414404150e1766ba329cca2e005a /networking
parent2a41ec6c6304a5101cf3ee898335fee7efc76b22 (diff)
downloadbusybox-0cc7e6236a897cb09a78b61a21d2c16ad423f4ce.tar.gz
Fix a couple vars that could be used uninitialized
Diffstat (limited to 'networking')
-rw-r--r--networking/ifconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index 37cba235a..63d88bc2c 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -15,7 +15,7 @@
* Foundation; either version 2 of the License, or (at
* your option) any later version.
*
- * $Id: ifconfig.c,v 1.24 2003/05/26 14:06:01 bug1 Exp $
+ * $Id: ifconfig.c,v 1.25 2003/06/20 09:23:34 andersen Exp $
*
*/
@@ -306,6 +306,8 @@ int ifconfig_main(int argc, char **argv)
goterr = 0;
did_flags = 0;
+ sai_hostname = 0;
+ sai_netmask = 0;
/* skip argv[0] */
++argv;