diff options
Diffstat (limited to 'src/lua/lua_upstream.c')
-rw-r--r-- | src/lua/lua_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_upstream.c b/src/lua/lua_upstream.c index 1a4d6b128..37c541d9d 100644 --- a/src/lua/lua_upstream.c +++ b/src/lua/lua_upstream.c @@ -110,7 +110,7 @@ lua_upstream_get_addr (lua_State *L) struct upstream *up = lua_check_upstream (L); if (up) { - rspamd_lua_ip_push (L, rspamd_upstream_addr (up)); + rspamd_lua_ip_push (L, rspamd_upstream_addr_next (up)); } else { lua_pushnil (L); |