Module: kamailio
Branch: 5.4
Commit: b5ae51af479d4e54e5d8c3f5e85908e68183e9d4
URL: https://github.com/kamailio/kamailio/commit/b5ae51af479d4e54e5d8c3f5e85908e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-06-01T11:12:22+02:00
core: parse via - fixed whitespacing
(cherry picked from commit 01664d1d82dcfe952fce29033b4fcd5e44cf2319)
(cherry picked from commit 19901d0cdb6cf06a84315c19a27986bca7a05025)
---
Modified: src/core/parser/parse_via.h
---
Diff: https://github.com/kamailio/kamailio/commit/b5ae51af479d4e54e5d8c3f5e85908e…
Patch: https://github.com/kamailio/kamailio/commit/b5ae51af479d4e54e5d8c3f5e85908e…
---
diff --git a/src/core/parser/parse_via.h b/src/core/parser/parse_via.h
index fca486e358..e4957961f1 100644
--- a/src/core/parser/parse_via.h
+++ b/src/core/parser/parse_via.h
@@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@@ -32,11 +32,11 @@
struct sip_msg;
/* via param types
- * WARNING: keep in sync with parse_via.c FIN_HIDDEN...
+ * WARNING: keep in sync with parse_via.c FIN_HIDDEN...
* and with tm/sip_msg.c via_body_cloner
*/
enum {
- PARAM_HIDDEN=230, PARAM_TTL, PARAM_BRANCH,
+ PARAM_HIDDEN=230, PARAM_TTL, PARAM_BRANCH,
PARAM_MADDR, PARAM_RECEIVED, PARAM_RPORT, PARAM_I, PARAM_ALIAS,
#ifdef USE_COMP
PARAM_COMP,
@@ -60,12 +60,12 @@ typedef struct via_param {
/* Format: name/version/transport host:port;params comment */
- /* WARNING: keep in sync with tm/sip_msg.c via_body_cloner */
-typedef struct via_body {
+/* WARNING: keep in sync with tm/sip_msg.c via_body_cloner */
+typedef struct via_body {
int error;
str hdr; /* Contains "Via" or "v" */
str name;
- str version;
+ str version;
str transport;
str host;
short proto; /* transport */
@@ -80,7 +80,7 @@ typedef struct via_body {
struct via_param* param_lst; /* list of parameters*/
struct via_param* last_param; /*last via parameter, internal use*/
- /* shortcuts to "important" params*/
+ /* shortcuts to "important" params*/
struct via_param* branch;
str tid; /* transaction id, part of branch */
struct via_param* received;
@@ -90,8 +90,8 @@ typedef struct via_body {
#ifdef USE_COMP
struct via_param* comp; /* see rfc3486 */
#endif
- struct via_body* next; /* pointer to next via body string if
- compact via or null */
+ struct via_body* next; /* pointer to next via body string
+ if compact via or null */
} via_body_t;
Module: kamailio
Branch: 5.4
Commit: 2c501f4d7b9678f0cfad3afec5e3095fd61e1763
URL: https://github.com/kamailio/kamailio/commit/2c501f4d7b9678f0cfad3afec5e3095…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-06-01T11:10:43+02:00
snmpstats: Fix typo in MIB
Reported by arkadiam on Github
(cherry picked from commit 7f017707c91659641ce9ca87ee4149b2e39379f7)
(cherry picked from commit dbd8e3899335eb8795763fd52b1f91aebfad1c92)
---
Modified: src/modules/snmpstats/mibs/KAMAILIO-SIP-SERVER-MIB
---
Diff: https://github.com/kamailio/kamailio/commit/2c501f4d7b9678f0cfad3afec5e3095…
Patch: https://github.com/kamailio/kamailio/commit/2c501f4d7b9678f0cfad3afec5e3095…
---
diff --git a/src/modules/snmpstats/mibs/KAMAILIO-SIP-SERVER-MIB b/src/modules/snmpstats/mibs/KAMAILIO-SIP-SERVER-MIB
index 3351a9e424..2aaddf01ca 100644
--- a/src/modules/snmpstats/mibs/KAMAILIO-SIP-SERVER-MIB
+++ b/src/modules/snmpstats/mibs/KAMAILIO-SIP-SERVER-MIB
@@ -562,7 +562,7 @@ KAMAILIO-SIP-SERVER-MIB DEFINITIONS ::= BEGIN
set the row-status to createAndGo.
Then the client can do an SNMP GET on this table with the
- aquired index. If the row-status is 'active', then the
+ acquired index. If the row-status is 'active', then the
kamailioSIPRegUserIndex is the index into the
kamailioSIPRegUserTable that has the specified URI (0 zero
indicates no such URI). The client should then set the
Module: kamailio
Branch: 5.5
Commit: 19901d0cdb6cf06a84315c19a27986bca7a05025
URL: https://github.com/kamailio/kamailio/commit/19901d0cdb6cf06a84315c19a27986b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-06-01T10:58:18+02:00
core: parse via - fixed whitespacing
(cherry picked from commit 01664d1d82dcfe952fce29033b4fcd5e44cf2319)
---
Modified: src/core/parser/parse_via.h
---
Diff: https://github.com/kamailio/kamailio/commit/19901d0cdb6cf06a84315c19a27986b…
Patch: https://github.com/kamailio/kamailio/commit/19901d0cdb6cf06a84315c19a27986b…
---
diff --git a/src/core/parser/parse_via.h b/src/core/parser/parse_via.h
index fca486e358..e4957961f1 100644
--- a/src/core/parser/parse_via.h
+++ b/src/core/parser/parse_via.h
@@ -13,8 +13,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@@ -32,11 +32,11 @@
struct sip_msg;
/* via param types
- * WARNING: keep in sync with parse_via.c FIN_HIDDEN...
+ * WARNING: keep in sync with parse_via.c FIN_HIDDEN...
* and with tm/sip_msg.c via_body_cloner
*/
enum {
- PARAM_HIDDEN=230, PARAM_TTL, PARAM_BRANCH,
+ PARAM_HIDDEN=230, PARAM_TTL, PARAM_BRANCH,
PARAM_MADDR, PARAM_RECEIVED, PARAM_RPORT, PARAM_I, PARAM_ALIAS,
#ifdef USE_COMP
PARAM_COMP,
@@ -60,12 +60,12 @@ typedef struct via_param {
/* Format: name/version/transport host:port;params comment */
- /* WARNING: keep in sync with tm/sip_msg.c via_body_cloner */
-typedef struct via_body {
+/* WARNING: keep in sync with tm/sip_msg.c via_body_cloner */
+typedef struct via_body {
int error;
str hdr; /* Contains "Via" or "v" */
str name;
- str version;
+ str version;
str transport;
str host;
short proto; /* transport */
@@ -80,7 +80,7 @@ typedef struct via_body {
struct via_param* param_lst; /* list of parameters*/
struct via_param* last_param; /*last via parameter, internal use*/
- /* shortcuts to "important" params*/
+ /* shortcuts to "important" params*/
struct via_param* branch;
str tid; /* transaction id, part of branch */
struct via_param* received;
@@ -90,8 +90,8 @@ typedef struct via_body {
#ifdef USE_COMP
struct via_param* comp; /* see rfc3486 */
#endif
- struct via_body* next; /* pointer to next via body string if
- compact via or null */
+ struct via_body* next; /* pointer to next via body string
+ if compact via or null */
} via_body_t;