trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject git commit: ats_ip_nptop needs to use INET6_ADDRPORTSTRLEN
Date Tue, 16 Sep 2014 19:03:35 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 13bd7bc96 -> ab02e71cb


ats_ip_nptop needs to use INET6_ADDRPORTSTRLEN


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ab02e71c
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ab02e71c
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ab02e71c

Branch: refs/heads/master
Commit: ab02e71cbbd5dfe6aff18d8b63e419dc1d48d0ec
Parents: 13bd7bc
Author: James Peach <jpeach@apache.org>
Authored: Tue Sep 16 12:03:27 2014 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Tue Sep 16 12:03:27 2014 -0700

----------------------------------------------------------------------
 lib/ts/ink_inet.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab02e71c/lib/ts/ink_inet.cc
----------------------------------------------------------------------
diff --git a/lib/ts/ink_inet.cc b/lib/ts/ink_inet.cc
index 8199efd..da01ddb 100644
--- a/lib/ts/ink_inet.cc
+++ b/lib/ts/ink_inet.cc
@@ -184,7 +184,7 @@ char const* ats_ip_nptop(
   sockaddr const* addr,
   char* dst, size_t size
 ) {
-  char buff[INET6_ADDRSTRLEN];
+  char buff[INET6_ADDRPORTSTRLEN];
   snprintf(dst, size, "%s:%u",
     ats_ip_ntop(addr, buff, sizeof(buff)),
     ats_ip_port_host_order(addr)


Mime
View raw message