aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_ip.c2
1 files changed, 2 insertions, 0 deletions
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}
};