Browse Source

ctl: used flavour's NAME in path of default ctl socket

Daniel-Constantin Mierla 14 năm trước cách đây
mục cha
commit
df4dfe6150
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/ctl/ctl_defaults.h

+ 1 - 1
modules/ctl/ctl_defaults.h

@@ -4,7 +4,7 @@
 #ifndef __ctl_defaults_h
 #define __ctl_defaults_h
 /*listen by default on: */
-#define DEFAULT_CTL_SOCKET  "unixs:/tmp/ser_ctl"
+#define DEFAULT_CTL_SOCKET  "unixs:/tmp/" NAME "_ctl"
 /* port used by default for tcp/udp if no port is explicitely specified */
 #define DEFAULT_CTL_PORT 2049