diff --git a/modules/ctl/ctl_defaults.h b/modules/ctl/ctl_defaults.h index 10498e39a5b..b41aa53f514 100644 --- a/modules/ctl/ctl_defaults.h +++ b/modules/ctl/ctl_defaults.h @@ -4,7 +4,7 @@ /*listen by default on: */ #ifdef SRNAME /* this is used when compiling sercmd tool */ -#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" SRNAME "/" SRNAME "_ctl" +#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" SRNAME "_ctl" #else /* this is used when compiling sip server */ #define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" NAME "_ctl"