[sr-dev] git:master:274d3265: core: define sockname attribute name
Daniel-Constantin Mierla
miconda at gmail.com
Fri Feb 12 15:28:43 CET 2021
Module: kamailio
Branch: master
Commit: 274d32651d7886b7f424239565a2714e2dd0991d
URL: https://github.com/kamailio/kamailio/commit/274d32651d7886b7f424239565a2714e2dd0991d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/274d32651d7886b7f424239565a2714e2dd0991d.diff
Patch: https://github.com/kamailio/kamailio/commit/274d32651d7886b7f424239565a2714e2dd0991d.patch
---
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"
More information about the sr-dev
mailing list