[patch] Fix load_mibfile

Dirk-Willem van Gulik dirkx at webweaving.org
Wed Aug 25 04:37:08 EDT 2010


Folks,

Not sure what the right approach is - but below is a small patch which makes load_mibfile (which I find incredible useful!) work on Darwin and FreeBSD 7 & 8 with the resident perls.

Let me know if this is the right way to submit these; and/or if there is something like a CCLA needed to allow future license management.

Thanks,

Dw.

# this patch is contributed under Argus its Perl Artistic License.
#
diff -c -w -r argus-dev-20100109.org/src/Conf.pm argus-dev-20100109/src/Conf.pm
*** argus-dev-20100109.org/src/Conf.pm	Tue Aug 24 23:37:28 2010
--- argus-dev-20100109/src/Conf.pm	Tue Aug 24 23:38:18 2010
***************
*** 87,93 ****
  	    descr => 'pathname of SNMP MIB translation file (MIB2SCHEMA format)',
  	    attrs => ['config', 'top', 'multi'],
  	    versn => '3.5',
! 	    callback => \&SNMP::load_mibfile,
  	},
  	
  	resolv_timeout => {
--- 87,93 ----
  	    descr => 'pathname of SNMP MIB translation file (MIB2SCHEMA format)',
  	    attrs => ['config', 'top', 'multi'],
  	    versn => '3.5',
! 	    callback => \&Argus::SNMP::load_mibfile,
  	},
  	
  	resolv_timeout => {



More information about the Arguslist mailing list