summaryrefslogtreecommitdiff
path: root/omapip/test.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2009-10-28 04:12:30 +0000
committerShawn Routhier <sar@isc.org>2009-10-28 04:12:30 +0000
commit98bf16077d22f28e288a18e184a9d1f97cb5f4f7 (patch)
treeb38c8282016ec1526d59abe313ff8317da4c21b6 /omapip/test.c
parent571c38b093626507112330e197dbbd318ba43a57 (diff)
downloadisc-dhcp-98bf16077d22f28e288a18e184a9d1f97cb5f4f7.tar.gz
Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
Diffstat (limited to 'omapip/test.c')
-rw-r--r--omapip/test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/omapip/test.c b/omapip/test.c
index 4bdefdec..ccd3c7a6 100644
--- a/omapip/test.c
+++ b/omapip/test.c
@@ -37,9 +37,10 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include <isc-dhcp/result.h>
+#include <omapip/result.h>
#include <sys/time.h>
#include <omapip/omapip.h>
+#include <omapip/isclib.h>
int main (int argc, char **argv)
{
@@ -47,6 +48,8 @@ int main (int argc, char **argv)
omapi_object_t *connection = (omapi_object_t*)0;
isc_result_t status;
+ dhcp_context_create();
+
omapi_init ();
if (argc > 1 && !strcmp (argv [1], "listen")) {