From: Roy Marples Date: Fri, 31 Jan 2020 11:04:27 +0000 (+0000) Subject: ARP: add a comment to note ethernet padding upto 60 bytes. X-Git-Tag: v9.0.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a844bb12b877c302a998b7e7a3ee87444815c8;p=thirdparty%2Fdhcpcd.git ARP: add a comment to note ethernet padding upto 60 bytes. --- diff --git a/src/arp.c b/src/arp.c index 72e0f7b6..b46535cf 100644 --- a/src/arp.c +++ b/src/arp.c @@ -109,6 +109,8 @@ arp_request(const struct interface *ifp, return ps_bpf_sendarp(ifp, arp_buffer, len); #endif state = ARP_CSTATE(ifp); + /* Note that well formed ethernet will add extra padding + * to ensure that the packet is at least 60 bytes (64 including FCS). */ return bpf_send(ifp, state->bpf_fd, ETHERTYPE_ARP, arp_buffer, len); eexit: