Skip to content

Commit

Permalink
snmpstats: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Dec 28, 2022
1 parent f98980f commit 8d9a0d6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/modules/snmpstats/doc/snmpstats_admin.xml
Expand Up @@ -266,7 +266,7 @@

<para>
<emphasis>
registrarServer, redirectServer, proxyServer, userAgent, edgeproxyServer, sipcaptureServer,other
registrarServer, redirectServer, proxyServer, userAgent, edgeproxyServer, sipcaptureServer, other
</emphasis>
</para>

Expand Down
8 changes: 4 additions & 4 deletions src/modules/snmpstats/kamailioNet.c
Expand Up @@ -297,7 +297,7 @@ int handle_kamailioNetTcpConnEstablished(netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)
{
/* We are never called for a GETNEXT if it's registered as a
/* We are never called for a GETNEXT if it's registered as an
"instance", as it's "magically" handled for us. */

/* an instance handler also only hands us one request at a time, so
Expand Down Expand Up @@ -448,7 +448,7 @@ int handle_kamailioNetTcpConnReject(netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)
{
/* We are never called for a GETNEXT if it's registered as a
/* We are never called for a GETNEXT if it's registered as an
"instance", as it's "magically" handled for us. */

/* an instance handler also only hands us one request at a time, so
Expand Down Expand Up @@ -477,7 +477,7 @@ int handle_kamailioNetTcpEnabled(netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)
{
/* We are never called for a GETNEXT if it's registered as a
/* We are never called for a GETNEXT if it's registered as an
"instance", as it's "magically" handled for us. */

/* an instance handler also only hands us one request at a time, so
Expand Down Expand Up @@ -540,7 +540,7 @@ int handle_kamailioNetTcpAsync(netsnmp_mib_handler *handler,

tcp_options_get(&t);
value = t.async;
/* We are never called for a GETNEXT if it's registered as a
/* We are never called for a GETNEXT if it's registered as an
"instance", as it's "magically" handled for us. */

/* an instance handler also only hands us one request at a time, so
Expand Down
2 changes: 1 addition & 1 deletion src/modules/snmpstats/mibs/KAMAILIO-TC
Expand Up @@ -108,7 +108,7 @@ KamailioSIPMethodIdentifier ::= TEXTUAL-CONVENTION
MAY return/accept a method identifier value other
than those defined by IANA. That system MUST
ensure no collisions with officially assigned
method identifier values and MUST provide a
method identifier values and MUST provide an
identifier to method name mapping via a mechanism
like sipMethodSupportedTable."
SYNTAX Unsigned32 (1..4294967295)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/snmpstats/snmpSIPStatusCodesTable.c
Expand Up @@ -303,7 +303,7 @@ kamailioSIPStatusCodesTable_context *kamailioSIPStatusCodesTable_create_row(
if(!ctx)
return NULL;

/* The *_extract_index funtion already validates the indices, so we
/* The *_extract_index function already validates the indices, so we
* don't need to do any further evaluations here. */
if(kamailioSIPStatusCodesTable_extract_index(ctx, hdr)) {
if(NULL != ctx->index.oids)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/snmpstats/snmp_statistics.c
Expand Up @@ -269,7 +269,7 @@ static int parse_proc_net_line(char *line, int *ipAddress, int *rx_queue)

/* strtol()'s specifications specify that the second parameter
* is set to the first parameter when a number couldn't be
* parsed out. This means the parse was unsuccesful. */
* parsed out. This means the parse was unsuccessful. */
if(nextNonNumericalChar == currColonLocation) {
return 0;
}
Expand Down

0 comments on commit 8d9a0d6

Please sign in to comment.