commit | 3849473828f319829aff422d2fbbce0823e65d64 | [log] [tgz] |
---|---|---|
author | Nenad Merdanovic <nmerdan@haproxy.com> | Sun Jul 23 22:04:58 2017 -0400 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jul 24 06:53:52 2017 +0200 |
tree | 50085aaccdd03c9c91dba43078602e27109091d5 | |
parent | b781dbede304ef44a8c6200868c1eddd3673cd26 [diff] |
BUG/MINOR: lua: Fix Server.get_addr() port values The get_addr() method of the Lua Server class was using the 'sockaddr_storage addr' member to get the port value. HAProxy does not store ports in this member as it uses a separate member, called 'svc_port'. This fix should be backported to 1.7.