]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Work around bletcherosity in handle declarations. BCTEL_SPECIAL_19991124
authorTed Lemon <source@isc.org>
Wed, 24 Nov 1999 04:13:07 +0000 (04:13 +0000)
committerTed Lemon <source@isc.org>
Wed, 24 Nov 1999 04:13:07 +0000 (04:13 +0000)
omapip/protocol.c

index d4f4a748f2cea7d9ec9d3b39de8ff6b39879b88b..1c943ff12d0a6610dc780f52337d87d5a97539b6 100644 (file)
@@ -230,6 +230,7 @@ isc_result_t omapi_protocol_signal_handler (omapi_object_t *h,
        omapi_object_t *c;
        u_int16_t nlen;
        u_int32_t vlen;
+       u_int32_t th;
 
        if (h -> type != omapi_type_protocol) {
                /* XXX shouldn't happen.   Put an assert here? */
@@ -299,7 +300,8 @@ isc_result_t omapi_protocol_signal_handler (omapi_object_t *h,
                /* XXX bind the authenticator here! */
                omapi_connection_get_uint32 (c, &p -> message -> authlen);
                omapi_connection_get_uint32 (c, &p -> message -> op);
-               omapi_connection_get_uint32 (c, &p -> message -> handle);
+               omapi_connection_get_uint32 (c, &th);
+               p -> message -> handle = th;
                omapi_connection_get_uint32 (c, &p -> message -> id);
                omapi_connection_get_uint32 (c, &p -> message -> rid);