aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-16 15:01:48 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-16 15:01:48 +0000
commitaca10f852ae760a3f2e2b9ed08bd13f9d5b85443 (patch)
treeb2463c51ec8ebef60589fa818283d59495576481 /networking
parentbc1918a7a278195709387fc586dbbf5a56867364 (diff)
downloadbusybox-aca10f852ae760a3f2e2b9ed08bd13f9d5b85443.tar.gz
arping: remove superfluous assignment
Diffstat (limited to 'networking')
-rw-r--r--networking/arping.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/networking/arping.c b/networking/arping.c
index 39dcb7cc2..2b7a43cb6 100644
--- a/networking/arping.c
+++ b/networking/arping.c
@@ -75,7 +75,6 @@ static int send_pack(struct in_addr *src_addr,
struct arphdr *ah = (struct arphdr *) buf;
unsigned char *p = (unsigned char *) (ah + 1);
- ah->ar_hrd = htons(ME->sll_hatype);
ah->ar_hrd = htons(ARPHRD_ETHER);
ah->ar_pro = htons(ETH_P_IP);
ah->ar_hln = ME->sll_halen;