|
@@ -610,7 +610,7 @@ int create_dhcp_request ( struct net_device *netdev, int msgtype,
|
610
|
610
|
/* Add DHCP client identifier. Required for Infiniband, and
|
611
|
611
|
* doesn't hurt other link layers.
|
612
|
612
|
*/
|
613
|
|
- client_id.ll_proto = netdev->ll_protocol->ll_proto;
|
|
613
|
+ client_id.ll_proto = ntohs ( netdev->ll_protocol->ll_proto );
|
614
|
614
|
ll_addr_len = netdev->ll_protocol->ll_addr_len;
|
615
|
615
|
assert ( ll_addr_len <= sizeof ( client_id.ll_addr ) );
|
616
|
616
|
memcpy ( client_id.ll_addr, netdev->ll_addr, ll_addr_len );
|