From: Ted Lemon Date: Tue, 16 Sep 1997 18:17:55 +0000 (+0000) Subject: Pass flag to cons_options indicating that this is a BOOTP packet X-Git-Tag: NetBSD_1_3_Alpha~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94da6d32268f30472e8281ded09ebab759e062cd;p=thirdparty%2Fdhcp.git Pass flag to cons_options indicating that this is a BOOTP packet --- diff --git a/server/bootp.c b/server/bootp.c index 767ca9480..135d16a57 100644 --- a/server/bootp.c +++ b/server/bootp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: bootp.c,v 1.27 1997/06/08 04:10:54 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bootp.c,v 1.28 1997/09/16 18:17:55 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -237,7 +237,7 @@ void bootp (packet) pack options into the filename and server name buffers. */ outgoing.packet_length = - cons_options (packet, outgoing.raw, options, 0, 0); + cons_options (packet, outgoing.raw, options, 0, 0, 1); if (outgoing.packet_length < BOOTP_MIN_LEN) outgoing.packet_length = BOOTP_MIN_LEN;