From: Ted Lemon Date: Thu, 9 Sep 1999 21:00:46 +0000 (+0000) Subject: Initialize the OMAPI at the top level, not here. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c172aed00ba991dc2cb7601e0f0a4db887c81bcd;p=thirdparty%2Fdhcp.git Initialize the OMAPI at the top level, not here. --- diff --git a/common/discover.c b/common/discover.c index 8afee1a22..c8d02fa78 100644 --- a/common/discover.c +++ b/common/discover.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: discover.c,v 1.11 1999/09/08 01:44:08 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: discover.c,v 1.12 1999/09/09 21:00:46 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -65,10 +65,6 @@ void discover_interfaces (state) isc_result_t status; if (!dhcp_type_interface) { - status = omapi_init (); - if (status != ISC_R_SUCCESS) - log_fatal ("Can't initialize OMAPI: %s", - isc_result_totext (status)); status = omapi_object_type_register (&dhcp_type_interface, "interface", interface_set_value, interface_get_value,