# HG changeset patch # User Michael Schloh von Bennewitz # Date 1359314565 -3600 # Node ID bb40ee892364d127bef76c7305406e53d1abd87e # Parent ca81a21bc445b0daa78bd7a260417493021dad5f Update to new version, improve socket error reporting, and correct SCTP bug. diff -r ca81a21bc445 -r bb40ee892364 opensips/opensips.spec --- a/opensips/opensips.spec Mon Jan 14 18:54:04 2013 +0100 +++ b/opensips/opensips.spec Sun Jan 27 20:22:45 2013 +0100 @@ -34,7 +34,7 @@ Class: PLUS Group: VoIP License: GPL -Version: 1.8.1 +Version: 1.8.2 Release: 20120800 # package options @@ -388,6 +388,12 @@ modules/lua/sipwatch.h \ modules/lua/crc32.h %{l_shtool} subst \ + -e 's;\(LM_ERR("\)\(failed to retrieve SO_ERROR (%d) %s\\n",\);\1addr (%s) port (%d), \2 inet_ntoa(((struct sockaddr_in *)servaddr)->sin_addr), ntohs(((struct sockaddr_in *)servaddr)->sin_port),;' \ + tcp_main.c + %{l_shtool} subst \ + -e 's;\(sock_info->socket = socket(AF2PF(addr->s.sa_family), SOCK_SEQPACKET,\) 0;\1 IPPROTO_SCTP;' \ + sctp_server.c + %{l_shtool} subst \ -e 's;\(#define MAX_SSL_RETRIES\) 32;\1 1024;' \ tls/tls_server.c %{l_shtool} subst \