]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: convert IP addresses to type string
authorWilly Tarreau <w@1wt.eu>
Tue, 10 Mar 2015 16:28:54 +0000 (17:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Mar 2015 16:30:41 +0000 (17:30 +0100)
commit5eadadacda4cfca72d2d3fb49e3ba4ffd50100a1
treece921f105685e2554315460871693f8857effc83
parent38c5fd60b9f31ec0303f59dada503513d7065ca2
MINOR: lua: convert IP addresses to type string

For now we don't perform any operation on IP addresses, so at least
we'd like to be able to pass them as strings so that we can log them
or whatever in Lua. Without this patch txn.src(txn) returns "nil" and
now it returns the correct IP address.
src/hlua.c