2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Fix up NetBSD/alpha build.

This commit is contained in:
Ted Lemon
2001-02-26 22:21:15 +00:00
parent a1ec58f608
commit c466184540
13 changed files with 41 additions and 39 deletions

View File

@@ -43,7 +43,7 @@
#ifndef lint
static char ocopyright[] =
"$Id: dhcrelay.c,v 1.49 2001/02/12 20:50:31 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
"$Id: dhcrelay.c,v 1.50 2001/02/26 22:21:14 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -819,8 +819,8 @@ int add_relay_agent_options (ip, packet, length, giaddr)
/* Relay option's total length shouldn't ever get to be more than
257 bytes. */
if (sp - op > 257)
log_fatal ("total agent option length exceeds 257 (%d) on %s\n",
sp - op, ip -> name);
log_fatal ("total agent option length exceeds 257 (%ld) on %s\n",
(long)(sp - op), ip -> name);
/* Calculate length of RAI option. */
op [1] = sp - op - 2;