expose sigar_net_stat_get now that all platforms implement net_connection_walk
This commit is contained in:
1 parent
13751fe221
commit
dc6429ad45
2 files changed
+2
-4
No files matched your search
@@ -824,7 +824,6 @@ JNIEXPORT jobjectArray SIGAR_JNI(Sigar_getNetConnectionList)
|
||||
return connarray;
|
||||
}
|
||||
|
||||
#if defined(__linux__) /* XXX other platforms need sigar_net_connection_walker */
|
||||
JNIEXPORT void SIGAR_JNI(NetStat_nstat)
|
||||
(JNIEnv *env, jobject obj, jobject sigar_obj, jint flags)
|
||||
{
|
||||
@@ -859,7 +858,6 @@ JNIEXPORT void SIGAR_JNI(NetStat_nstat)
|
||||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
JNIEXPORT jstring SIGAR_JNI(NetConnection_getTypeString)
|
||||
(JNIEnv *env, jobject obj)
|
||||
|
||||
Reference in new issue
Block a user