Skip to content

Commit

Permalink
dhclient: typo in previous
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Dec 30, 2017
1 parent c24697c commit f6b3e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/dhclient/packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ assemble_hw_header(struct interface_info *interface, unsigned char *buf,
struct ether_vlan_header eh;

memset(eh.evl_dhost, 0xff, sizeof(eh.evl_dhost));
if (interface->hw_address.hlen == sizeof(eh.ether_shost))
if (interface->hw_address.hlen == sizeof(eh.evl_shost))
memcpy(eh.evl_shost, interface->hw_address.haddr,
sizeof(eh.evl_shost));
else
Expand Down

0 comments on commit f6b3e14

Please sign in to comment.