summaryrefslogtreecommitdiff
path: root/server/failover.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-03-01 07:25:47 +0000
committerTed Lemon <source@isc.org>2001-03-01 07:25:47 +0000
commit7c6a9da029fadb0bf0411d902a14bea65dfeea1e (patch)
tree1d63260bd01bd8e63ecb0988820aa28e20cb25ba /server/failover.c
parent031d30b778063c4c9edcd097f058a0c50d0c71a4 (diff)
downloadisc-dhcp-7c6a9da029fadb0bf0411d902a14bea65dfeea1e.tar.gz
Fix up a couple of type errors
Diffstat (limited to 'server/failover.c')
-rw-r--r--server/failover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/failover.c b/server/failover.c
index e42bf88a..d931bd77 100644
--- a/server/failover.c
+++ b/server/failover.c
@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
-"$Id: failover.c,v 1.37 2001/02/27 01:17:34 neild Exp $ Copyright (c) 1999-2001 The Internet Software Consortium. All rights reserved.\n";
+"$Id: failover.c,v 1.38 2001/03/01 07:25:45 mellon Exp $ Copyright (c) 1999-2001 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -2277,7 +2277,7 @@ isc_result_t dhcp_failover_state_set_value (omapi_object_t *h,
} else if (!omapi_ds_strcmp (name, "partner-state")) {
return ISC_R_SUCCESS;
} else if (!omapi_ds_strcmp (name, "local-state")) {
- long l;
+ unsigned long l;
status = omapi_get_int_value (&l, value);
if (status != ISC_R_SUCCESS)
return status;