summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-19 20:11:03 +0000
committerRoy Marples <roy@marples.name>2008-07-19 20:11:03 +0000
commit4cce18b82448cd69519cddb8ec99368a0c014a84 (patch)
tree5424433d5e9e6ce09f635a829433783712f202b1 /net.c
parentec941659afe0075349cf512069fe0546999768db (diff)
downloaddhcpcd-4cce18b82448cd69519cddb8ec99368a0c014a84.tar.xz
Style.
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.c b/net.c
index c89a52eb..312989a6 100644
--- a/net.c
+++ b/net.c
@@ -671,7 +671,7 @@ send_arp(const struct interface *iface, int op, in_addr_t sip, in_addr_t tip)
uint8_t *p;
int retval;
- arpsize = sizeof(*arp) + 2 * iface->hwlen + 2 *sizeof(sip);
+ arpsize = sizeof(*arp) + 2 * iface->hwlen + 2 * sizeof(sip);
arp = xmalloc(arpsize);
arp->ar_hrd = htons(iface->family);
arp->ar_pro = htons(ETHERTYPE_IP);