Przeglądaj źródła

snmpstats minor typo fixes

Olle E. Johansson 12 lat temu
rodzic
commit
0fd0906680

+ 1 - 1
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;

+ 2 - 2
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