Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2018 11:15:51 +0000 (UTC)
From:      Babak Farrokhi <farrokhi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474174 - in head/benchmarks/sipp: . files
Message-ID:  <201807081115.w68BFpXi003393@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: farrokhi
Date: Sun Jul  8 11:15:51 2018
New Revision: 474174
URL: https://svnweb.freebsd.org/changeset/ports/474174

Log:
  benchmarks/sipp:
  
  PR:		222764
  Submitted by:	szabig <szabig@kgb.hu>
  Reported by:	OlivierW <olivierw1+bugzilla-freebsd@hotmail.com>

Added:
  head/benchmarks/sipp/files/
  head/benchmarks/sipp/files/patch-src_socket.cpp   (contents, props changed)
Modified:
  head/benchmarks/sipp/Makefile

Modified: head/benchmarks/sipp/Makefile
==============================================================================
--- head/benchmarks/sipp/Makefile	Sun Jul  8 10:34:36 2018	(r474173)
+++ head/benchmarks/sipp/Makefile	Sun Jul  8 11:15:51 2018	(r474174)
@@ -3,7 +3,7 @@
 
 PORTNAME=	sipp
 PORTVERSION=	3.5.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	benchmarks net
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
 

Added: head/benchmarks/sipp/files/patch-src_socket.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/sipp/files/patch-src_socket.cpp	Sun Jul  8 11:15:51 2018	(r474174)
@@ -0,0 +1,11 @@
+--- src/socket.cpp.orig	2018-07-08 10:42:40 UTC
++++ src/socket.cpp
+@@ -338,7 +338,7 @@ const char *sip_tls_error_string(SSL *ss
+ 
+ static char* get_inet_address(const struct sockaddr_storage* addr, char* dst, int len)
+ {
+-    if (getnameinfo(_RCAST(struct sockaddr*, addr), sizeof(*addr),
++    if (getnameinfo(_RCAST(struct sockaddr*, addr), SOCK_ADDR_SIZE(addr),
+                     dst, len, NULL, 0, NI_NUMERICHOST) != 0) {
+         snprintf(dst, len, "addr not supported");
+     }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807081115.w68BFpXi003393>