Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
30:e34173b7585c
Parent:
22:914b970356f0
Child:
35:93c39d260a83
--- a/eth/arp.cpp	Mon Aug 07 12:13:52 2017 +0000
+++ b/eth/arp.cpp	Thu Aug 10 17:45:37 2017 +0000
@@ -5,6 +5,7 @@
 #include  "mac.h"
 #include "dhcp.h"
 #include   "ar.h"
+#include "dnscache.h"
 #include   "io.h"
 
 #define REQUEST   1
@@ -53,6 +54,7 @@
             return UNICAST;
         case REPLY:
             ArAdd4(pHeader->senderHardwareAddress, pHeader->senderProtocolAddress);
+            DnsCacheMakeRequestForNameFromIp4(pHeader->senderProtocolAddress);
             return DO_NOTHING;
         default:
             return DO_NOTHING;