diff options
| author | Thomas Moestl <tmm@FreeBSD.org> | 2003-01-10 00:04:53 +0000 |
|---|---|---|
| committer | Thomas Moestl <tmm@FreeBSD.org> | 2003-01-10 00:04:53 +0000 |
| commit | a9a7a91220b033233c9c015565b1d4078e67deb5 (patch) | |
| tree | 8f64563309639e9d936261874cbd6f25a09b790d /sys/netinet | |
| parent | 963cae780f5ade2fe3872cb31d3b4112962040a3 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/if_ether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 691bbff14763..f5e23d5856d4 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -370,6 +370,7 @@ arprequest(ifp, sip, tip, enaddr) ah->ar_pln = sizeof(struct in_addr); /* protocol address length */ ah->ar_op = htons(ARPOP_REQUEST); (void)memcpy(ar_sha(ah), enaddr, ah->ar_hln); + memset(ar_tha(ah), 0, ah->ar_hln); (void)memcpy(ar_spa(ah), sip, ah->ar_pln); (void)memcpy(ar_tpa(ah), tip, ah->ar_pln); |
