From: Ted Lemon Date: Wed, 11 Sep 1996 05:51:25 +0000 (+0000) Subject: Add argument to cons_options X-Git-Tag: BETA_5_10~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70931779e3ef5d499c5b6cfa4485cc61b25436c7;p=thirdparty%2Fdhcp.git Add argument to cons_options --- diff --git a/bootp.c b/bootp.c index 0006b93db..76d4fc852 100644 --- a/bootp.c +++ b/bootp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: bootp.c,v 1.17 1996/08/27 09:33:41 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bootp.c,v 1.18 1996/09/11 05:50:54 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -184,7 +184,7 @@ void bootp (packet) /* Pack the options into the buffer. Unlike DHCP, we can't pack options into the filename and server name buffers. */ - cons_options (packet, &outgoing, options, 0); + cons_options (packet, &outgoing, options, 0, 0); if (outgoing.packet_length < BOOTP_MIN_LEN) outgoing.packet_length = BOOTP_MIN_LEN; diff --git a/client/dhclient.c b/client/dhclient.c index ff22faf03..17e712f71 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dhclient.c,v 1.19 1996/08/29 09:15:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.20 1996/09/11 05:51:25 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -259,7 +259,7 @@ void send_discover (interface) options [DHO_DHCP_MESSAGE] -> tree = (struct tree *)0; /* Set up the option buffer... */ - cons_options ((struct packet *)0, &outgoing, options, 0); + cons_options ((struct packet *)0, &outgoing, options, 0, 0); memset (&raw.ciaddr, 0, sizeof raw.ciaddr); memset (&raw.siaddr, 0, sizeof raw.siaddr); @@ -358,7 +358,7 @@ void send_request (packet) options [DHO_DHCP_SERVER_IDENTIFIER] -> tree = (struct tree *)0; /* Set up the option buffer... */ - cons_options ((struct packet *)0, &outgoing, options, 0); + cons_options ((struct packet *)0, &outgoing, options, 0, 0); memset (&raw.ciaddr, 0, sizeof raw.ciaddr); raw.siaddr = packet -> raw -> siaddr; diff --git a/dhclient.c b/dhclient.c index ff22faf03..17e712f71 100644 --- a/dhclient.c +++ b/dhclient.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dhclient.c,v 1.19 1996/08/29 09:15:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.20 1996/09/11 05:51:25 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -259,7 +259,7 @@ void send_discover (interface) options [DHO_DHCP_MESSAGE] -> tree = (struct tree *)0; /* Set up the option buffer... */ - cons_options ((struct packet *)0, &outgoing, options, 0); + cons_options ((struct packet *)0, &outgoing, options, 0, 0); memset (&raw.ciaddr, 0, sizeof raw.ciaddr); memset (&raw.siaddr, 0, sizeof raw.siaddr); @@ -358,7 +358,7 @@ void send_request (packet) options [DHO_DHCP_SERVER_IDENTIFIER] -> tree = (struct tree *)0; /* Set up the option buffer... */ - cons_options ((struct packet *)0, &outgoing, options, 0); + cons_options ((struct packet *)0, &outgoing, options, 0, 0); memset (&raw.ciaddr, 0, sizeof raw.ciaddr); raw.siaddr = packet -> raw -> siaddr; diff --git a/server/bootp.c b/server/bootp.c index 0006b93db..76d4fc852 100644 --- a/server/bootp.c +++ b/server/bootp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: bootp.c,v 1.17 1996/08/27 09:33:41 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bootp.c,v 1.18 1996/09/11 05:50:54 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -184,7 +184,7 @@ void bootp (packet) /* Pack the options into the buffer. Unlike DHCP, we can't pack options into the filename and server name buffers. */ - cons_options (packet, &outgoing, options, 0); + cons_options (packet, &outgoing, options, 0, 0); if (outgoing.packet_length < BOOTP_MIN_LEN) outgoing.packet_length = BOOTP_MIN_LEN;