diff options
Diffstat (limited to 'usr.sbin/dhcp/sysconfd/sysconfd.c')
-rw-r--r-- | usr.sbin/dhcp/sysconfd/sysconfd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/dhcp/sysconfd/sysconfd.c b/usr.sbin/dhcp/sysconfd/sysconfd.c index 2529ccd2abd..8fc2c1c8329 100644 --- a/usr.sbin/dhcp/sysconfd/sysconfd.c +++ b/usr.sbin/dhcp/sysconfd/sysconfd.c @@ -44,7 +44,7 @@ #ifndef lint static char copyright[] = -"$Id: sysconfd.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: sysconfd.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" @@ -93,6 +93,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) + |