From: Vsevolod Stakhov Date: Sat, 30 Nov 2019 17:21:25 +0000 (+0000) Subject: [Minor] Lua_task: Fix set_ip to accept lua_ip userdata X-Git-Tag: 2.3~275 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6befad2d24c8c62de60ffcf43baff8908ad98fcf;p=rspamd.git [Minor] Lua_task: Fix set_ip to accept lua_ip userdata --- diff --git a/src/lua/lua_ip.c b/src/lua/lua_ip.c index f873c4515..fb6845519 100644 --- a/src/lua/lua_ip.c +++ b/src/lua/lua_ip.c @@ -187,6 +187,8 @@ static const struct luaL_reg iplib_m[] = { static const struct luaL_reg iplib_f[] = { LUA_INTERFACE_DEF (ip, from_string), + {"fromstring", lua_ip_from_string}, + {"fromip", lua_ip_copy}, {"from_ip", lua_ip_copy}, {NULL, NULL} };