From 0cc7e6236a897cb09a78b61a21d2c16ad423f4ce Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 20 Jun 2003 09:23:34 +0000 Subject: Fix a couple vars that could be used uninitialized --- networking/ifconfig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'networking') 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; -- cgit v1.2.3