diff options
Diffstat (limited to 'usr.sbin/dhcp/statmsg')
-rw-r--r-- | usr.sbin/dhcp/statmsg/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/dhcp/statmsg/main.c b/usr.sbin/dhcp/statmsg/main.c index 0c267a0d9c5..9cbe88e2aed 100644 --- a/usr.sbin/dhcp/statmsg/main.c +++ b/usr.sbin/dhcp/statmsg/main.c @@ -44,7 +44,7 @@ #ifndef lint static char copyright[] = -"$Id: main.c,v 1.1 1998/08/18 03:43:36 deraadt Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: main.c,v 1.2 2002/06/10 00:39:46 itojun Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -88,6 +88,7 @@ int main (argc, argv, envp) error ("unable to create sysconf socket: %m"); /* XXX for now... */ + memset(&name, 0, sizeof(name)); name.sun_family = PF_UNIX; strcpy (name.sun_path, "/var/run/sysconf"); name.sun_len = ((sizeof name) - (sizeof name.sun_path) + |