From 6baee43250ed8f44f19fded4493ff8d2cb236c27 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 6 Nov 1998 00:15:51 +0000 Subject: [PATCH] Add relay agent information option arg to cons_options call. --- server/bootp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/bootp.c b/server/bootp.c index e24d7e45..c8834c88 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; }