mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Fix a pasto in the code to set the broadcast address environment variable.
This commit is contained in:
parent
7eae478ed8
commit
a8c190df76
@ -41,7 +41,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static char ocopyright[] =
|
||||
"$Id: dhclient.c,v 1.108 2000/07/20 00:53:18 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 Internet Software Consortium. All rights reserved.\n";
|
||||
"$Id: dhclient.c,v 1.109 2000/07/20 03:21:23 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 Internet Software Consortium. All rights reserved.\n";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "dhcpd.h"
|
||||
@ -2214,7 +2214,7 @@ void script_write_params (client, prefix, lease)
|
||||
if (broadcast.len) {
|
||||
client_envadd (client,
|
||||
prefix, "broadcast_address",
|
||||
"%s", piaddr (subnet));
|
||||
"%s", piaddr (broadcast));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user