microudp: fix udp txlen
authorRobert Jordens <jordens@gmail.com>
Mon, 11 Nov 2013 22:45:45 +0000 (15:45 -0700)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Tue, 12 Nov 2013 18:05:15 +0000 (19:05 +0100)
commit1a28690fa05ae821e2e8ba689292e37a0e6f3491
tree57a779bb819791252b81dbe22b81d57a34380612
parent69568adb8e50cd25a0f9888259541795dc71c48e
microudp: fix udp txlen

* the preample length 8 is already included in sizeof(struct
ethernet_header)
* the minimum packet size is 64, exluding fcs and including
preample it is 68 (the arp functions are correct)
software/libnet/microudp.c