Browse code

snmpstats minor typo fixes

Olle E. Johansson authored on 07/04/2013 07:45:21
Showing 2 changed files
... ...
@@ -169,7 +169,7 @@ kamailioSIPPortTable_context *getRow(int ipType, int *ipAddress)
169 169
  * to an integer so that if the function is called again with another
170 170
  * 'protocol', we can continue from the last index. 
171 171
  */
172
-void createRowsFromIPList(int *theList, int listSize, int protocol, 
172
+static void createRowsFromIPList(int *theList, int listSize, int protocol, 
173 173
 		int *snmpIndex, int family) {
174 174
 
175 175
 	kamailioSIPPortTable_context *currentRow;
... ...
@@ -50,7 +50,7 @@ extern "C" {
50 50
 // OLD #define SIP_PORT_TABLE_STR_INDEX_SIZE 10
51 51
 #define SIP_PORT_TABLE_STR_INDEX_SIZE 50
52 52
 
53
-/* This strucutre represents a single row in the table. */
53
+/* This structure represents a single row in the table. */
54 54
 typedef struct kamailioSIPPortTable_context_s 
55 55
 {
56 56
 
... ...
@@ -107,7 +107,7 @@ extern size_t kamailioSIPPortTable_oid_len;
107 107
 #define COLUMN_KAMAILIOSIPTRANSPORTRCV 4
108 108
 
109 109
 #define kamailioSIPPortTable_COL_MIN 4
110
-#define kamailioSIPPortTable_COL_MAX 12
110
+#define kamailioSIPPortTable_COL_MAX 4
111 111
 
112 112
 
113 113
 #ifdef __cplusplus