]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix up call to omapi_object_type_register.
authorTed Lemon <source@isc.org>
Tue, 10 Oct 2000 22:33:56 +0000 (22:33 +0000)
committerTed Lemon <source@isc.org>
Tue, 10 Oct 2000 22:33:56 +0000 (22:33 +0000)
common/icmp.c

index 4c71718a2430996ec39d6566a70e75c63f14adf9..6bc10edc75ecb74bc37b71c8b6ce7c78b8d07e11 100644 (file)
@@ -44,7 +44,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: icmp.c,v 1.24 2000/07/06 22:37:40 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: icmp.c,v 1.25 2000/10/10 22:33:56 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -79,9 +79,9 @@ void icmp_startup (routep, handler)
        if (dhcp_type_icmp)
                log_fatal ("attempted to reinitialize icmp protocol");
 
-       result = omapi_object_type_register (&dhcp_type_icmp,
-                                            "icmp", 0, 0, 0, 0, 0, 0, 0, 0, 0,
-                                            0, 0, sizeof (struct icmp_state));
+       result = omapi_object_type_register (&dhcp_type_icmp, "icmp",
+                                            0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+                                            sizeof (struct icmp_state), 0);
 
        if (result != ISC_R_SUCCESS)
                log_fatal ("Can't register icmp object type: %s",