ports/net/kamailio/files/patch-src_modules_ctl_ctl.c
Kurt Jaeger 6767e9c9af net/kamailio: update 4.4.3 -> 5.0.1
This is a major release, introducing a consistent set of new features
as well as improvements to existing components.

Reviewed by:	Alexey V. Panfilov <ports@subnets.ru>
Relnotes:	https://www.kamailio.org/w/kamailio-v5-0-0-release-notes/
2017-05-31 13:23:26 +00:00

12 lines
435 B
C

--- src/modules/ctl/ctl.c.orig 2017-04-21 13:48:39 UTC
+++ src/modules/ctl/ctl.c
@@ -238,8 +238,7 @@ static int mod_init(void)
return -1;
}
strcpy(ctl_socket_path, DEFAULT_CTL_SOCKET_PROTO);
- strcat(ctl_socket_path, runtime_dir);
- strcat(ctl_socket_path, "/");
+ strcat(ctl_socket_path, "/var/run/");
strcat(ctl_socket_path, DEFAULT_CTL_SOCKET_NAME);
add_binrpc_socket(PARAM_STRING, ctl_socket_path);
}