Subject: | CmMic and CmtsMic |
To avoid errors poping out when you decode and encode a file you need to
skip the NA values (which are CmMic and CmtsMic).
Please see the proposed patch.
Subject: | mic.patch.txt |
--- ConfigFile.pm.orig 2008-03-29 09:56:24.000000000 +0200
+++ ConfigFile.pm 2008-03-29 09:57:05.000000000 +0200
@@ -259,6 +259,8 @@
### init
my $name = $tlv->{'name'} or next TLV;
+ next TLV if($name eq "NA");
+
my $syminfo = DOCSIS::ConfigFile::Syminfo->from_id($name);
my $sub = DOCSIS::ConfigFile::Encode->can($syminfo->func);
my $code = $syminfo->code;