updated haproxy state

This commit is contained in:
Paul 2024-01-27 10:41:30 +01:00
parent ebb0d84e9d
commit b58d7494de
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ static int get_country(lua_State *L) {
if (status == 0) {
sprintf(country, "%.*s", entry_data->data_size, entry_data->utf8_string);
} else {
strcpy(country, "not found");
strcpy(country, "N/A");
}
lua_pushstring(L, country);

View File

@ -6,7 +6,7 @@ local compile = {}
local lua_version = "5.3"
local user = "haproxy"
local group = "haproxy"
local libs = {"-ljansson", "-lmaxminddb"}
local libs = {"-ljansson", "-lmaxminddb", "-lcurl"}
function compile.check(module)
local sourcepath = modpath.."/"..module..".c"