mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes compilation issue
This commit is contained in:
parent
83b336281f
commit
f79ef2d3ca
1 changed files with 2 additions and 2 deletions
|
|
@ -5810,7 +5810,7 @@ static int ntop_update_ranking(lua_State *vm) {
|
|||
char *key, *values;
|
||||
u_int32_t epoch;
|
||||
NetworkInterface *curr_iface = getCurrentInterface(vm);
|
||||
|
||||
#ifdef NTOPNG_PRO
|
||||
if (ntop_lua_check(vm, __FUNCTION__, 1, LUA_TNUMBER) != CONST_LUA_OK)
|
||||
return (ntop_lua_return_value(vm, __FUNCTION__, CONST_LUA_PARAM_ERROR));
|
||||
else
|
||||
|
|
@ -5827,7 +5827,7 @@ static int ntop_update_ranking(lua_State *vm) {
|
|||
values = (char*)lua_tostring(vm, 3);
|
||||
|
||||
curr_iface->updateRanking(vm, epoch, key, values);
|
||||
|
||||
#endif
|
||||
return (ntop_lua_return_value(vm, __FUNCTION__, CONST_LUA_OK));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue