From: Ted Lemon Date: Tue, 10 Oct 2000 22:33:56 +0000 (+0000) Subject: Fix up call to omapi_object_type_register. X-Git-Tag: V3-BETA-2-PATCH-7~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1242fb40fc23798f1b649e0afbadb5e175c17ec;p=thirdparty%2Fdhcp.git Fix up call to omapi_object_type_register. --- diff --git a/common/icmp.c b/common/icmp.c index 4c71718a2..6bc10edc7 100644 --- a/common/icmp.c +++ b/common/icmp.c @@ -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",