[cricket-users] bug in v0.70's snmp.pm

From: the+cricket@llama.com
Date: Mon Nov 08 1999 - 09:38:37 PST


From: the+cricket@llama.com

If any of you have been getting errors such as the following:

Argument "FastEthernet1/1/0" isn't numeric in eq at /home/monitor/cricket/
.././lib/snmp.pm line 94.

It's because line 94 in snmp.pm has an "==" where an "eq" is warranted.

The diff would look like the following:

> diff snmp.bak.pm snmp.pm
94c94
< if (defined($hostResults[0]) && $hostResults[0] == -1) {

---
>                       if (defined($hostResults[0]) && $hostResults[0] eq -1) {
>

--Sam

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm! You can even make $$$ by referring friends. <a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:05 PST