summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/tcp_admin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/core/tcp_admin.h b/src/network/core/tcp_admin.h
index ee34725f6..c0491f0cc 100644
--- a/src/network/core/tcp_admin.h
+++ b/src/network/core/tcp_admin.h
@@ -449,6 +449,15 @@ public:
~NetworkAdminSocketHandler();
NetworkRecvStatus ReceivePackets();
+
+ /**
+ * Get the status of the admin.
+ * @return The status of the admin.
+ */
+ AdminStatus GetAdminStatus() const
+ {
+ return this->status;
+ }
};
#endif /* ENABLE_NETWORK */