Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
187:122fc1996c86
Parent:
175:2d7aa004d881
--- a/ip6/icmp/ndp/ndp.c	Sat Jan 16 18:34:32 2021 +0000
+++ b/ip6/icmp/ndp/ndp.c	Mon Jan 18 18:23:46 2021 +0000
@@ -72,17 +72,6 @@
     return false;
 }
 
-bool NdpIpNeedsToBeRouted(char* ip)
-{
-    //Check address is assigned to internet
-    if (!Ip6AddrIsGlobal(ip)) return false;
-
-    //Check it is not our own prefix
-    if (memcmp(ip, NdpGlobalPrefix, 8) == 0) return false;
-
-    return true;
-}
-
 static uint32_t decodeUint32(char* p)
 {
     uint32_t     value  = *p++;