net: cosmetic: rarp.* checkpatch compliance
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c9f6c91b48
commit
c2faf4f901
|
@ -88,11 +88,11 @@ RarpRequest (void)
|
|||
rarp->ar_op = htons(RARPOP_REQUEST);
|
||||
memcpy(&rarp->ar_data[0], NetOurEther, 6); /* source ET addr */
|
||||
memcpy(&rarp->ar_data[6], &NetOurIP, 4); /* source IP addr */
|
||||
memcpy (&rarp->ar_data[10], NetOurEther, 6); /* dest ET addr = source ET addr ??*/
|
||||
/* dest ET addr = source ET addr ??*/
|
||||
memcpy(&rarp->ar_data[10], NetOurEther, 6);
|
||||
/* dest. IP addr set to broadcast */
|
||||
for (i = 0; i <= 3; i++) {
|
||||
for (i = 0; i <= 3; i++)
|
||||
rarp->ar_data[16 + i] = 0xff;
|
||||
}
|
||||
|
||||
NetSendPacket(NetTxPacket, (pkt - NetTxPacket) + ARP_HDR_SIZE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue