diff options
author | Eric Andersen | 2003-06-20 09:23:34 +0000 |
---|---|---|
committer | Eric Andersen | 2003-06-20 09:23:34 +0000 |
commit | 0cc7e6236a897cb09a78b61a21d2c16ad423f4ce (patch) | |
tree | 5e4a456e8744414404150e1766ba329cca2e005a /networking | |
parent | 2a41ec6c6304a5101cf3ee898335fee7efc76b22 (diff) | |
download | busybox-0cc7e6236a897cb09a78b61a21d2c16ad423f4ce.zip busybox-0cc7e6236a897cb09a78b61a21d2c16ad423f4ce.tar.gz |
Fix a couple vars that could be used uninitialized
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 37cba23..63d88bc 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; |