aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-08-09 18:37:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-08-09 18:37:31 +0000
commit3b5006fdf40103622fe256bf450329ce5e249014 (patch)
tree0e5b2b7db518a60caa860bec79be1c73bd63634e
parent134783f7a807bdea4f5dcb14cf47f3d917fd76b9 (diff)
downloadsrc-3b5006fdf40103622fe256bf450329ce5e249014.tar.gz
src-3b5006fdf40103622fe256bf450329ce5e249014.zip
Vendor approved fix where with some CIDR subnets, dhclient would set the
broadcast address to the [sub]net address. Approved by: Ted Lemon <mellon@nominum.com> Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Notes
Notes: svn path=/vendor/isc-dhcp/dist/; revision=64455
-rw-r--r--contrib/isc-dhcp/client/dhclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c
index 4110ad5f9198..51737851412a 100644
--- a/contrib/isc-dhcp/client/dhclient.c
+++ b/contrib/isc-dhcp/client/dhclient.c
@@ -1962,7 +1962,7 @@ void script_write_params (ip, prefix, lease)
if (broadcast.len) {
client_envadd (ip -> client,
prefix, "broadcast_address",
- "%s", piaddr (subnet));
+ "%s", piaddr (broadcast));
}
}
}