Reported-by: Adithya Balakumar <
adithy...@gmail.com>
Signed-off-by: Christian Storm <
christi...@siemens.com>
---
suricatta/server_lua.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/suricatta/server_lua.c b/suricatta/server_lua.c
index 7ac5e972..2641a037 100644
--- a/suricatta/server_lua.c
+++ b/suricatta/server_lua.c
@@ -1592,6 +1592,11 @@ static int suricatta_lua_module(lua_State *L)
push_to_table(L, "SUBPROCESS", SUBPROCESS);
push_to_table(L, "PROGRESS", PROGRESS);
lua_settable(L, -3);
+ lua_pushstring(L, "progress_cause");
+ lua_newtable(L);
+ push_to_table(L, "CAUSE_NONE", CAUSE_NONE);
+ push_to_table(L, "CAUSE_REBOOT_MODE", CAUSE_REBOOT_MODE);
+ lua_settable(L, -3);
lua_settable(L, -3);
lua_pushstring(L, "status");
--
2.45.2