Module: kamailio
Branch: master
Commit: 924a861f1fc5eeade24b7ba6916afefb39a9cba5
URL:
https://github.com/kamailio/kamailio/commit/924a861f1fc5eeade24b7ba6916afef…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-09T11:02:05+01:00
Merge pull request #535 from wdoekes/wjd-typo-connectons
websocket: Fix stats "connectons" typo's.
---
Modified: modules/websocket/ws_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/924a861f1fc5eeade24b7ba6916afef…
Patch:
https://github.com/kamailio/kamailio/commit/924a861f1fc5eeade24b7ba6916afef…
---
diff --git a/modules/websocket/ws_mod.c b/modules/websocket/ws_mod.c
index 827dd61..e513d09 100644
--- a/modules/websocket/ws_mod.c
+++ b/modules/websocket/ws_mod.c
@@ -108,9 +108,9 @@ static stat_export_t stats[] =
{ "ws_current_connections", 0, &ws_current_connections },
{ "ws_max_concurrent_connections", 0, &ws_max_concurrent_connections
},
{ "ws_sip_current_connections", 0, &ws_sip_current_connections },
- { "ws_sip_max_concurrent_connectons", 0,
&ws_sip_max_concurrent_connections },
- { "ws_msrp_current_connections", 0,
&ws_msrp_current_connections },
- { "ws_msrp_max_concurrent_connectons", 0,
&ws_msrp_max_concurrent_connections },
+ { "ws_sip_max_concurrent_connections", 0,
&ws_sip_max_concurrent_connections },
+ { "ws_msrp_current_connections", 0, &ws_msrp_current_connections },
+ { "ws_msrp_max_concurrent_connections", 0,
&ws_msrp_max_concurrent_connections },
/* ws_frame.c */
{ "ws_failed_connections", 0, &ws_failed_connections },
@@ -135,6 +135,10 @@ static stat_export_t stats[] =
{ "ws_sip_successful_handshakes", 0, &ws_sip_successful_handshakes
},
{ "ws_msrp_successful_handshakes", 0, &ws_msrp_successful_handshakes
},
+ /* legacy typo's, fixed in 4.4 */
+ { "ws_sip_max_concurrent_connectons", 0,
&ws_sip_max_concurrent_connections },
+ { "ws_msrp_max_concurrent_connectons", 0,
&ws_msrp_max_concurrent_connections },
+
{ 0, 0, 0 }
};