updated haproxy state
This commit is contained in:
parent
ebb0d84e9d
commit
b58d7494de
@ -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);
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user