浏览代码

Imported Upstream version 0.7.2

0.7.2  12/02/02         Fix typos in docsis_symtable.h
evvolve
Evvolve Media SRL 23 年之前
父节点
当前提交
84481596c9
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 2 2
      docsis_main.c
  2. 2 2
      docsis_symtable.h
  3. 1 1
      version.h

+ 2 - 2
docsis_main.c

@@ -142,9 +142,9 @@ int main(int argc,char *argv[] )
    	if (! ds_get_boolean (DS_LIBRARY_ID, DS_LIB_RANDOM_ACCESS)) {
        		ds_toggle_boolean(DS_LIBRARY_ID, DS_LIB_RANDOM_ACCESS);
 #ifdef DEBUG
-		printf ("Random OID access: %d\n", ds_get_boolean(DS_LIBRARY_ID,DS_LIB_RANDOM_ACCESS));
+		printf ("/* Random OID access: %d */\n", ds_get_boolean(DS_LIBRARY_ID,DS_LIB_RANDOM_ACCESS));
 #endif /* DEBUG */
-   	} /* we can use sysContact.0 instead of system.sysContact.0  */
+   	} /* so we can use sysContact.0 instead of system.sysContact.0  */
 
 	memset (prog_name,0,255);
 	strncpy (prog_name, argv[0], 254);

+ 2 - 2
docsis_symtable.h

@@ -93,7 +93,7 @@ symbol_type symtable[NUM_IDENTIFIERS] =  {
 { 53,   "VlanID",		2, 51, (get_ushort), 	(decode_ushort),    	0, 0 },      
 /* TODO: Vendor Specific support in the IEEE802Classifier */
 
-{ 54,	"DsPacketClass",	22, 0, (get_nothing), 	(decode_aggregate),	0, 0 },
+{ 54,	"DsPacketClass",	23, 0, (get_nothing), 	(decode_aggregate),	0, 0 },
 { 55,	"ClassifierRef",	1, 54, (get_uchar), 	(decode_uchar),		1, 255 },
 { 56,	"ClassifierId",		2, 54, (get_ushort), 	(decode_ushort),	1, 65535 },
 { 57,	"ServiceFlowRef",	3, 54, (get_ushort), 	(decode_ushort),	1, 65535 },
@@ -144,7 +144,7 @@ symbol_type symtable[NUM_IDENTIFIERS] =  {
 { 98,   "GrantsPerInterval",	22,80, (get_uchar), 	(decode_uchar),    	0, 127 },
 { 99,   "IpTosOverwrite",	23,80, (get_hexstr), 	(decode_hexstr),    	2, 2 },
 /* Downstream Service Flow */
-{100,   "DsServiceFlow",	25,100,(get_nothing), 	(decode_aggregate),    	0, 0 },      
+{100,   "DsServiceFlow",	25,  0,(get_nothing), 	(decode_aggregate),    	0, 0 },      
 {101,   "ServiceFlowRef",	1, 100, (get_ushort), 	(decode_ushort),    	1, 65535 },      
 {102,   "ServiceFlowId",	2, 100, (get_uint), 	(decode_uint),    	1, 0xFFFFFFFF },  
 {103,   "ServiceClassName",	4, 100, (get_string), 	(decode_string),    	2, 16 },      

+ 1 - 1
version.h

@@ -20,4 +20,4 @@
  */
 
 #define VERSION "0.7"
-#define PATCHLEVEL "1"
+#define PATCHLEVEL "2"