summaryrefslogtreecommitdiffstats
path: root/src/Core/RequestHandler
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/RequestHandler')
-rw-r--r--src/Core/RequestHandler/CoreStatusRequestHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core/RequestHandler/CoreStatusRequestHandler.h b/src/Core/RequestHandler/CoreStatusRequestHandler.h
index 3cfa947..c895dd5 100644
--- a/src/Core/RequestHandler/CoreStatusRequestHandler.h
+++ b/src/Core/RequestHandler/CoreStatusRequestHandler.h
@@ -22,7 +22,7 @@
#include <Common/RequestHandler.h>
#include <Common/SystemBackend.h>
-#include <Net/Packets/CoreStatusPacket.h>
+#include <Net/Packets/HostStatusPacket.h>
#include <cstring>
#include <gssapi/gssapi.h>
@@ -49,7 +49,7 @@ class CoreStatusRequestHandler : public Common::RequestHandler {
Common::SystemBackend::UptimeInfo uptimeInfo = Common::SystemBackend::getBackend()->getUptimeInfo();
Common::SystemBackend::MemoryInfo memInfo = Common::SystemBackend::getBackend()->getMemoryInfo();
- if(!connection->send(Net::Packets::CoreStatusPacket(Net::Packet::OK, packet.getRequestId(), uptimeInfo.uptime, uptimeInfo.idleTime,
+ if(!connection->send(Net::Packets::HostStatusPacket(Net::Packet::OK, packet.getRequestId(), uptimeInfo.uptime, uptimeInfo.idleTime,
memInfo.totalMem, memInfo.freeMem, memInfo.totalSwap, memInfo.freeSwap)))
return false;