CLEANUP: lua: avoid directly calling getsockname/getpeername()
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Nov 2016 16:00:14 +0000 (17:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Nov 2016 16:32:57 +0000 (17:32 +0100)
commita71f642b6258614fd256493c7687a01b25a081c6
tree748b42f90bada84a4b1fdb7e37f6a9da51d7d433
parentd4d0a23ca4f0971a4850b27d8bd407bab7e08452
CLEANUP: lua: avoid directly calling getsockname/getpeername()

We already have per-protocol functions for this, and they already
take care of properly setting the CO_FL_ADDR_*_SET flags.
src/hlua.c