]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: Add a function to convert buffer to an ipv6 address
authorThierry FOURNIER <tfournier@exceliance.fr>
Fri, 22 Nov 2013 15:16:59 +0000 (16:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 22:31:32 +0000 (23:31 +0100)
commitd559dd8390f70e1ff5afc89750afbfb94ff00bb0
tree2a801bbb25741be8cf0dd5fa5507521fc203b99e
parent9c1d67ecbdb37d1c48d172aeeb3c1d3439fa0e23
MINOR: tools: Add a function to convert buffer to an ipv6 address

The inet_pton function needs an input string with a final \0. This
function copies the input string to a temporary buffer, adds the final
\0 and converts to address.
include/common/standard.h
src/standard.c