Re: [RADIATOR] Radiator+Mikrotik

2015-01-22 Thread Nathan Anderson
0 -0700 >> +++ Radius-patched/Nas/CiscoSessionMIB.pm2014-12-08 05:20:02.00000 >> -0800 >> @@ -39,7 +39,7 @@ >> $client->{SNMPCommunity}, >> "$Radius::Nas::CiscoMIB.9.150.1.1.3.1.2.$session_id"); >> >> -return 1 if (

Re: [RADIATOR] Radiator+Mikrotik

2015-01-22 Thread Nathan Anderson
s::CiscoMIB.9.150.1.1.3.1.2.$session_id"); > > -return 1 if (!$result || $result =~ /no response/i); # Could not > SNMP. Assume still there > +return 0 if (!$result || $result =~ /no response/i); # Could not > SNMP. Give benefit of doubt to user. > return 0 if $r

Re: [RADIATOR] Radiator+Mikrotik

2014-12-08 Thread Nathan Anderson
esult =~ /no response/i); # Could not SNMP. Assume still there +return 0 if (!$result || $result =~ /no response/i); # Could not SNMP. Give benefit of doubt to user. return 0 if $result =~ /no such variable/i; # Not in the MIB means no such session return uc($1) eq uc($name)