]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Pass flag to cons_options indicating that this is a BOOTP packet
authorTed Lemon <source@isc.org>
Tue, 16 Sep 1997 18:17:55 +0000 (18:17 +0000)
committerTed Lemon <source@isc.org>
Tue, 16 Sep 1997 18:17:55 +0000 (18:17 +0000)
server/bootp.c

index 767ca94801aa76b82b8d835b05b25b9f0ab71f97..135d16a578bee6b4b2eb4243bdd263af25e9cfca 100644 (file)
@@ -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;