2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-09-01 14:55:30 +00:00

Add relay agent information option arg to cons_options call.

This commit is contained in:
Ted Lemon
1998-11-06 00:15:51 +00:00
parent 866428ddc8
commit 6baee43250

View File

@@ -42,7 +42,7 @@
#ifndef lint #ifndef lint
static char copyright[] = 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 */ #endif /* not lint */
#include "dhcpd.h" #include "dhcpd.h"
@@ -206,8 +206,9 @@ void bootp (packet)
name buffers. */ name buffers. */
outgoing.packet_length = outgoing.packet_length =
cons_options (packet, cons_options (packet, outgoing.raw, 0,
outgoing.raw, 0, &options, 0, 0, 1); &options, (struct agent_options *)0,
0, 0, 1);
if (outgoing.packet_length < BOOTP_MIN_LEN) if (outgoing.packet_length < BOOTP_MIN_LEN)
outgoing.packet_length = BOOTP_MIN_LEN; outgoing.packet_length = BOOTP_MIN_LEN;
} }