]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add relay agent information option arg to cons_options call.
authorTed Lemon <source@isc.org>
Fri, 6 Nov 1998 00:15:51 +0000 (00:15 +0000)
committerTed Lemon <source@isc.org>
Fri, 6 Nov 1998 00:15:51 +0000 (00:15 +0000)
server/bootp.c

index e24d7e45dc35bda0cf16ce8c6139a525341f1e0d..c8834c88844a7aff006e8583ee5acf063af08ed1 100644 (file)
@@ -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;
        }