Hi there, Is this a bug or did i configure something wrong ?
wanted to use the following handler in a perl-module, with a call to "getRootOID()": sub my_snmp_handler { my ($handler, $registration_info, $request_info, $requests) = @_; my $request; my $rootoid=$registration_info->getRootOID(); } but it did not work. I get the followint error: Can't locate object method "getRootOID" via package "NetSNMP::agent::reginfo" When i change the file /net-snmp-5.3.0.1/perl/agent/agent.xs, line 400: from < arg = newSVrv(rarg, "NetSNMP::agent::reginfo"); into > arg = newSVrv(rarg, "netsnmp_handler_registrationPtr"); ..recompile and install: It works ! regards Markus using an intel, debian sarge with net-snmp-5.3.0.1 system ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users