Goto label was in slightly wrong place.

This commit is contained in:
mellon 2000-09-29 00:30:56 +00:00
parent 15eaba378c
commit a894c0a5ef
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
"$Id: discover.c,v 1.6 2000/09/04 23:19:32 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
"$Id: discover.c,v 1.7 2000/09/29 00:30:56 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@ -114,9 +114,9 @@ void discover_interfaces (state)
log_fatal ("Can't create addrlist socket");
/* Get the interface configuration information... */
gifconf_again:
ic.ifc_len = sizeof buf;
ic.ifc_ifcu.ifcu_buf = (caddr_t)buf;
gifconf_again:
i = ioctl(sock, SIOCGIFCONF, &ic);
if (i < 0)