arping: remove superfluous assignment

This commit is contained in:
Denis Vlasenko 2008-04-16 15:01:48 +00:00
parent bc1918a7a2
commit aca10f852a

View File

@ -75,7 +75,6 @@ static int send_pack(struct in_addr *src_addr,
struct arphdr *ah = (struct arphdr *) buf; struct arphdr *ah = (struct arphdr *) buf;
unsigned char *p = (unsigned char *) (ah + 1); unsigned char *p = (unsigned char *) (ah + 1);
ah->ar_hrd = htons(ME->sll_hatype);
ah->ar_hrd = htons(ARPHRD_ETHER); ah->ar_hrd = htons(ARPHRD_ETHER);
ah->ar_pro = htons(ETH_P_IP); ah->ar_pro = htons(ETH_P_IP);
ah->ar_hln = ME->sll_halen; ah->ar_hln = ME->sll_halen;