In general netdb internals do not even exist unless ICMP
support is built.
netdbRegisterWithCacheManager is no exception.
cbdataFree(ex);
}
-#endif /* USE_ICMP */
-
static void
-netdbRegisterWitHCacheManager(void)
+netdbRegisterWithCacheManager(void)
{
-#if USE_ICMP
CacheManager::GetInstance()->
registerAction("netdb", "Network Measurement Database", netdbDump, 0, 1);
-#endif
}
+#endif /* USE_ICMP */
+
+
/* PUBLIC FUNCTIONS */
void
#if USE_ICMP
int n;
- netdbRegisterWitHCacheManager();
+ netdbRegisterWithCacheManager();
if (addr_table)
return;