]> git.kaiwu.me - nginx.git/commit
Merge of r4945, r4984: ngx_inet.[ch] minor fixes.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 02:56:03 +0000 (02:56 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 02:56:03 +0000 (02:56 +0000)
commitdcec6574b8b4ee118bdffbbbf6bf5a555853cb64
tree24de0d8fc9c487ea896e79c97c926c606ef7b64c
parent4f535b103e7621678274201aa1b74ef7a92e0577
Merge of r4945, r4984: ngx_inet.[ch] minor fixes.

*) Fixed the NGX_SOCKADDR_STRLEN macro definition.
   The ngx_sock_ntop() function, when told to print both address and port,
   prints IPv6 address in square brackets, followed by colon and port.

*) Properly initialize "struct in6_addr" with zeroes.
src/core/ngx_inet.c
src/core/ngx_inet.h