|
@@ -2040,6 +2040,9 @@ public:
|
|
|
|
|
|
bool reportUdpInfo(unsigned traceLevel)
|
|
|
{
|
|
|
+#ifdef _WIN32
|
|
|
+ return false;
|
|
|
+#else
|
|
|
if (uidCol==-1 && columnNames.length())
|
|
|
return false;
|
|
|
FILE *netfp = fopen("/proc/net/udp", "r");
|
|
@@ -2118,6 +2121,7 @@ public:
|
|
|
}
|
|
|
fclose(netfp);
|
|
|
return true;
|
|
|
+#endif
|
|
|
}
|
|
|
private:
|
|
|
MapPortToPortStats map;
|
|
@@ -2138,6 +2142,9 @@ public:
|
|
|
}
|
|
|
bool reportSnmpInfo()
|
|
|
{
|
|
|
+#ifdef _WIN32
|
|
|
+ return false;
|
|
|
+#else
|
|
|
if (inErrorsCol==-1 && columnNames.length())
|
|
|
return false;
|
|
|
FILE *netfp = fopen("/proc/net/snmp", "r");
|
|
@@ -2176,6 +2183,7 @@ public:
|
|
|
}
|
|
|
fclose(netfp);
|
|
|
return ok;
|
|
|
+#endif
|
|
|
}
|
|
|
private:
|
|
|
StringArray columnNames;
|