MINOR: lua: allow changing port with set_addr
authorJoseph C. Sible <josephcsible@gmail.com>
Tue, 5 May 2020 02:20:32 +0000 (22:20 -0400)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2020 09:24:39 +0000 (11:24 +0200)
commit49bbf528e47793c716ddaba1cb0bdb039f659075
tree498484a5d0879aa463098ffb39f84b7522679551
parent3970819a550a78eb8e88c47fdf0516f9777a91fd
MINOR: lua: allow changing port with set_addr

Add an optional port parameter, which can be either a number or a
string (to support '+' and '-' for port mapping).

This fixes issue #586.
doc/lua-api/index.rst
src/hlua_fcn.c