commit | d559dd8390f70e1ff5afc89750afbfb94ff00bb0 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Fri Nov 22 16:16:59 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 02 23:31:32 2013 +0100 |
tree | 2a801bbb25741be8cf0dd5fa5507521fc203b99e | |
parent | 9c1d67ecbdb37d1c48d172aeeb3c1d3439fa0e23 [diff] |
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.