From: Ted Lemon Date: Fri, 6 Nov 1998 00:15:51 +0000 (+0000) Subject: Add relay agent information option arg to cons_options call. X-Git-Tag: carrel-2~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6baee43250ed8f44f19fded4493ff8d2cb236c27;p=thirdparty%2Fdhcp.git Add relay agent information option arg to cons_options call. --- diff --git a/server/bootp.c b/server/bootp.c index e24d7e45d..c8834c888 100644 --- a/server/bootp.c +++ b/server/bootp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: bootp.c,v 1.32 1998/11/05 18:52:13 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bootp.c,v 1.33 1998/11/06 00:15:51 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -206,8 +206,9 @@ void bootp (packet) name buffers. */ outgoing.packet_length = - cons_options (packet, - outgoing.raw, 0, &options, 0, 0, 1); + cons_options (packet, outgoing.raw, 0, + &options, (struct agent_options *)0, + 0, 0, 1); if (outgoing.packet_length < BOOTP_MIN_LEN) outgoing.packet_length = BOOTP_MIN_LEN; }