Module: kamailio
Branch: master
Commit: 274d32651d7886b7f424239565a2714e2dd0991d
URL:
https://github.com/kamailio/kamailio/commit/274d32651d7886b7f424239565a2714…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-12T15:26:56+01:00
core: define sockname attribute name
- used in the sockname r-r parameter
---
Modified: src/core/config.h
---
Diff:
https://github.com/kamailio/kamailio/commit/274d32651d7886b7f424239565a2714…
Patch:
https://github.com/kamailio/kamailio/commit/274d32651d7886b7f424239565a2714…
---
diff --git a/src/core/config.h b/src/core/config.h
index e35fd6daba..06fe5cbb7b 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -111,7 +111,10 @@
#define COMP_PARAM ";comp="
#define COMP_PARAM_LEN (sizeof(COMP_PARAM)-1)
-#define SOCKNAME_PARAM ";sn="
+#define SOCKNAME_ATTR "sn"
+#define SOCKNAME_ATTR_LEN (sizeof(SOCKNAME_ATTR)-1)
+
+#define SOCKNAME_PARAM ";" SOCKNAME_ATTR "="
#define SOCKNAME_PARAM_LEN (sizeof(SOCKNAME_PARAM)-1)
#define SIGCOMP_NAME "sigcomp"