A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.

Dependents:   oldheating gps motorhome heating

Revision:
11:c051adb70c5a
Parent:
10:f0854784e960
Child:
13:9cd54f7db57a
--- a/eth/eth.cpp	Sun Apr 16 14:21:55 2017 +0000
+++ b/eth/eth.cpp	Tue Apr 18 19:07:05 2017 +0000
@@ -51,6 +51,8 @@
 static void finalisePacket(int action, int type, int dataLength, void* pPacket, int* pSize)
 {
     struct header * pHeader = (header*)pPacket;
+    
+    if (!action) return;
 
     switch (action)
     {