Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
172:9bc3c7b2cca1
Parent:
143:8cec8f08dc54
Child:
195:bd5b123143ca
--- a/eth/mac.c	Sat Dec 12 20:10:02 2020 +0000
+++ b/eth/mac.c	Wed Dec 16 17:33:22 2020 +0000
@@ -163,7 +163,7 @@
 {
     if (dest == BROADCAST)       { *p++ = 0xff; *p++ = 0xff; *p++ = 0xff; *p++ = 0xff; *p++ = 0xff; *p = 0xff; return; }
     
-    if (pro == IPV4)
+    if (pro == ETH_IPV4)
     {
         switch (dest)
         {