Template:FAQ:Coding 15
From Net-SNMP Wiki
This was a bug in the mib2c script, which was corrected with the 4.2 release. Earlier versions can be fixed by applying the following patch:
$ diff -u mib2c.cln mib2c
--- mib2c.cln Wed Nov 29 15:12:47 2000
+++ mib2c Wed Nov 29 15:13:18 2000
@@ -132,6 +132,6 @@
#============================================
foreach $vtable (@table_list) {
foreach $ptable (@processtable) {
- $variables{$ptable}{'processed'} =
+ $variables{$ptable}{'processed'} .=
(eval "\"$variables{$ptable}{'code'}\"") . "\n\n";
}