[asterisk-commits] qwell: branch 1.4 r105572 - /branches/1.4/res/snmp/agent.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 3 12:06:52 CST 2008


Author: qwell
Date: Mon Mar  3 12:06:52 2008
New Revision: 105572

URL: http://svn.digium.com/view/asterisk?view=rev&rev=105572
Log:
Fix type for astNumChannels.

(closes issue #12114)
Reported by: jeffg
Patches:
      12114.patch uploaded by jeffg (license 192)

Modified:
    branches/1.4/res/snmp/agent.c

Modified: branches/1.4/res/snmp/agent.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/snmp/agent.c?view=diff&rev=105572&r1=105571&r2=105572
==============================================================================
--- branches/1.4/res/snmp/agent.c (original)
+++ branches/1.4/res/snmp/agent.c Mon Mar  3 12:06:52 2008
@@ -751,7 +751,7 @@
 		{ASTINDCOUNTRY,          ASN_OCTET_STR, RONLY, ast_var_indications_table,   4, {ASTINDICATIONS, ASTINDTABLE, 1, ASTINDCOUNTRY}},
 		{ASTINDALIAS,            ASN_OCTET_STR, RONLY, ast_var_indications_table,   4, {ASTINDICATIONS, ASTINDTABLE, 1, ASTINDALIAS}},
 		{ASTINDDESCRIPTION,      ASN_OCTET_STR, RONLY, ast_var_indications_table,   4, {ASTINDICATIONS, ASTINDTABLE, 1, ASTINDDESCRIPTION}},
-		{ASTCHANCOUNT,           ASN_INTEGER,   RONLY, ast_var_channels,            2, {ASTCHANNELS, ASTCHANCOUNT}},
+		{ASTCHANCOUNT,           ASN_GAUGE,     RONLY, ast_var_channels,            2, {ASTCHANNELS, ASTCHANCOUNT}},
 		{ASTCHANINDEX,           ASN_INTEGER,   RONLY, ast_var_channels_table,      4, {ASTCHANNELS, ASTCHANTABLE, 1, ASTCHANINDEX}},
 		{ASTCHANNAME,            ASN_OCTET_STR, RONLY, ast_var_channels_table,      4, {ASTCHANNELS, ASTCHANTABLE, 1, ASTCHANNAME}},
 		{ASTCHANLANGUAGE,        ASN_OCTET_STR, RONLY, ast_var_channels_table,      4, {ASTCHANNELS, ASTCHANTABLE, 1, ASTCHANLANGUAGE}},




More information about the asterisk-commits mailing list