From: Ted Lemon Date: Thu, 20 Jul 2000 03:21:23 +0000 (+0000) Subject: Fix a pasto in the code to set the broadcast address environment variable. X-Git-Tag: V3-BETA-2-PATCH-1~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8c190df765a1f47009dc384eec2534606722e9f;p=thirdparty%2Fdhcp.git Fix a pasto in the code to set the broadcast address environment variable. --- diff --git a/client/dhclient.c b/client/dhclient.c index de006233b..b19598832 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -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)); } } }