View | Details | Raw Unified | Return to bug 238022
Collapse All | Expand All

(-)b/sbin/dhclient/dhclient.c (-2 / +1 lines)
Lines 1782-1788 make_request(struct interface_info *ip, struct client_lease * lease) Link Here
1782
	}
1782
	}
1783
1783
1784
	/* set unique client identifier */
1784
	/* set unique client identifier */
1785
	char client_ident[sizeof(struct hardware)];
1785
	char client_ident[sizeof(ip->hw_address.haddr) + 1];
1786
	if (!options[DHO_DHCP_CLIENT_IDENTIFIER]) {
1786
	if (!options[DHO_DHCP_CLIENT_IDENTIFIER]) {
1787
		int hwlen = (ip->hw_address.hlen < sizeof(client_ident)-1) ?
1787
		int hwlen = (ip->hw_address.hlen < sizeof(client_ident)-1) ?
1788
				ip->hw_address.hlen : sizeof(client_ident)-1;
1788
				ip->hw_address.hlen : sizeof(client_ident)-1;
1789
- 

Return to bug 238022