Module: sip-router
Branch: master
Commit: 0fd0906680ce0f022820fd15819486eb4acfe24a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0fd0906…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Sun Apr 7 09:45:21 2013 +0200
snmpstats minor typo fixes
---
modules/snmpstats/snmpSIPPortTable.c | 2 +-
modules/snmpstats/snmpSIPPortTable.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/snmpstats/snmpSIPPortTable.c b/modules/snmpstats/snmpSIPPortTable.c
index 04a2b80..46410d8 100644
--- a/modules/snmpstats/snmpSIPPortTable.c
+++ b/modules/snmpstats/snmpSIPPortTable.c
@@ -169,7 +169,7 @@ kamailioSIPPortTable_context *getRow(int ipType, int *ipAddress)
* to an integer so that if the function is called again with another
* 'protocol', we can continue from the last index.
*/
-void createRowsFromIPList(int *theList, int listSize, int protocol,
+static void createRowsFromIPList(int *theList, int listSize, int protocol,
int *snmpIndex, int family) {
kamailioSIPPortTable_context *currentRow;
diff --git a/modules/snmpstats/snmpSIPPortTable.h b/modules/snmpstats/snmpSIPPortTable.h
index 4032672..eb552dc 100644
--- a/modules/snmpstats/snmpSIPPortTable.h
+++ b/modules/snmpstats/snmpSIPPortTable.h
@@ -50,7 +50,7 @@ extern "C" {
// OLD #define SIP_PORT_TABLE_STR_INDEX_SIZE 10
#define SIP_PORT_TABLE_STR_INDEX_SIZE 50
-/* This strucutre represents a single row in the table. */
+/* This structure represents a single row in the table. */
typedef struct kamailioSIPPortTable_context_s
{
@@ -107,7 +107,7 @@ extern size_t kamailioSIPPortTable_oid_len;
#define COLUMN_KAMAILIOSIPTRANSPORTRCV 4
#define kamailioSIPPortTable_COL_MIN 4
-#define kamailioSIPPortTable_COL_MAX 12
+#define kamailioSIPPortTable_COL_MAX 4
#ifdef __cplusplus