diff options
author | obrien <obrien@FreeBSD.org> | 2000-08-09 18:37:31 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-08-09 18:37:31 +0000 |
commit | 8cabdcb94c37b7f674f0084b12d935a3e7dc8b83 (patch) | |
tree | 0e5b2b7db518a60caa860bec79be1c73bd63634e /contrib | |
parent | 6c5ad021325798ac0714185ddc1df496452dfa44 (diff) | |
download | FreeBSD-src-8cabdcb94c37b7f674f0084b12d935a3e7dc8b83.zip FreeBSD-src-8cabdcb94c37b7f674f0084b12d935a3e7dc8b83.tar.gz |
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>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/isc-dhcp/client/dhclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c index 4110ad5..5173785 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)); } } } |