|
|
|
@ -54,7 +54,7 @@ From upstream:
|
|
|
|
|
c += sprintf(c, "%s: Unable to create '%s': %s.\n",
|
|
|
|
|
--- a/sipp.cpp
|
|
|
|
|
+++ b/sipp.cpp
|
|
|
|
|
@@ -221,6 +221,7 @@
|
|
|
|
|
@@ -219,6 +219,7 @@
|
|
|
|
|
SIPP_OPTION_UNSETFLAG, &default_behaviors, 1},
|
|
|
|
|
{"nr", "Disable retransmission in UDP mode.", SIPP_OPTION_UNSETFLAG, &retrans_enabled, 1},
|
|
|
|
|
|
|
|
|
@ -62,7 +62,7 @@ From upstream:
|
|
|
|
|
{"nostdin", "Disable stdin.\n", SIPP_OPTION_SETFLAG, &nostdin, 1},
|
|
|
|
|
|
|
|
|
|
{"p", "Set the local port number. Default is a random free port chosen by the system.", SIPP_OPTION_INT, &user_port, 1},
|
|
|
|
|
@@ -1422,7 +1423,7 @@
|
|
|
|
|
@@ -1492,7 +1493,7 @@
|
|
|
|
|
{
|
|
|
|
|
static int first = 1;
|
|
|
|
|
|
|
|
|
@ -71,7 +71,7 @@ From upstream:
|
|
|
|
|
if(!last) {
|
|
|
|
|
screen_clear();
|
|
|
|
|
}
|
|
|
|
|
@@ -3288,8 +3289,9 @@
|
|
|
|
|
@@ -3617,8 +3618,9 @@
|
|
|
|
|
void timeout_alarm(int param){
|
|
|
|
|
if (timeout_error) {
|
|
|
|
|
ERROR("%s timed out after '%.3lf' seconds", scenario_file, ((double)clock_tick / 1000LL));
|
|
|
|
@ -82,7 +82,7 @@ From upstream:
|
|
|
|
|
timeout_exit = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -4543,7 +4545,9 @@
|
|
|
|
|
@@ -4977,7 +4979,9 @@
|
|
|
|
|
struct addrinfo hints;
|
|
|
|
|
struct addrinfo * local_addr;
|
|
|
|
|
|
|
|
|
@ -93,7 +93,7 @@ From upstream:
|
|
|
|
|
|
|
|
|
|
memset((char*)&hints, 0, sizeof(hints));
|
|
|
|
|
hints.ai_flags = AI_PASSIVE;
|
|
|
|
|
@@ -4726,7 +4730,12 @@
|
|
|
|
|
@@ -5160,7 +5164,12 @@
|
|
|
|
|
sprintf(scenario_file, "%s", "sipp");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -107,7 +107,7 @@ From upstream:
|
|
|
|
|
|
|
|
|
|
#ifdef _USE_OPENSSL
|
|
|
|
|
if ((transport == T_TLS) && (FI_init_ssl_context() != SSL_INIT_NORMAL))
|
|
|
|
|
@@ -5135,7 +5144,10 @@
|
|
|
|
|
@@ -5580,7 +5589,10 @@
|
|
|
|
|
struct addrinfo hints;
|
|
|
|
|
struct addrinfo * local_addr;
|
|
|
|
|
|
|
|
|
@ -119,7 +119,7 @@ From upstream:
|
|
|
|
|
|
|
|
|
|
memset((char*)&hints, 0, sizeof(hints));
|
|
|
|
|
hints.ai_flags = AI_PASSIVE;
|
|
|
|
|
@@ -5168,7 +5180,9 @@
|
|
|
|
|
@@ -5613,7 +5625,9 @@
|
|
|
|
|
htons((short)remote_port);
|
|
|
|
|
sprintf(remote_ip_escaped, "[%s]", remote_ip);
|
|
|
|
|
}
|
|
|
|
@ -130,7 +130,7 @@ From upstream:
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -5471,7 +5485,9 @@
|
|
|
|
|
@@ -5916,7 +5930,9 @@
|
|
|
|
|
void connect_to_peer(char *peer_host, int peer_port, struct sockaddr_storage *peer_sockaddr, char *peer_ip, struct sipp_socket **peer_socket) {
|
|
|
|
|
|
|
|
|
|
/* Resolving the peer IP */
|
|
|
|
@ -141,7 +141,7 @@ From upstream:
|
|
|
|
|
struct addrinfo hints;
|
|
|
|
|
struct addrinfo * local_addr;
|
|
|
|
|
memset((char*)&hints, 0, sizeof(hints));
|
|
|
|
|
@@ -5573,7 +5589,9 @@
|
|
|
|
|
@@ -6018,7 +6034,9 @@
|
|
|
|
|
void connect_local_twin_socket(char * twinSippHost)
|
|
|
|
|
{
|
|
|
|
|
/* Resolving the listener IP */
|
|
|
|
@ -154,7 +154,7 @@ From upstream:
|
|
|
|
|
memset((char*)&hints, 0, sizeof(hints));
|
|
|
|
|
--- a/sipp.hpp
|
|
|
|
|
+++ b/sipp.hpp
|
|
|
|
|
@@ -270,6 +270,7 @@
|
|
|
|
|
@@ -285,6 +285,7 @@
|
|
|
|
|
extern bool twinSippMode _DEFVAL(false);
|
|
|
|
|
extern bool extendedTwinSippMode _DEFVAL(false);
|
|
|
|
|
|
|
|
|
|