]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a pasto in the code to set the broadcast address environment variable.
authorTed Lemon <source@isc.org>
Thu, 20 Jul 2000 03:21:23 +0000 (03:21 +0000)
committerTed Lemon <source@isc.org>
Thu, 20 Jul 2000 03:21:23 +0000 (03:21 +0000)
client/dhclient.c

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