aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clientiface.cpp6
-rw-r--r--src/clientiface.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/clientiface.cpp b/src/clientiface.cpp
index d4efe60ef..a6ab1ef41 100644
--- a/src/clientiface.cpp
+++ b/src/clientiface.cpp
@@ -38,10 +38,12 @@ const char *ClientInterface::statenames[] = {
"Disconnecting",
"Denied",
"Created",
- "InitSent",
+ "AwaitingInit2",
+ "HelloSent",
"InitDone",
"DefinitionsSent",
- "Active"
+ "Active",
+ "SudoMode",
};
diff --git a/src/clientiface.h b/src/clientiface.h
index 9be8bda61..0d2bca196 100644
--- a/src/clientiface.h
+++ b/src/clientiface.h
@@ -167,6 +167,9 @@ namespace con {
#define CI_ARRAYSIZE(a) (sizeof(a) / sizeof((a)[0]))
+// Also make sure to update the ClientInterface::statenames
+// array when modifying these enums
+
enum ClientState
{
CS_Invalid,