From 09ca75f92e8a19c661da49eb0e04c5bc01c6a8e7 Mon Sep 17 00:00:00 2001 From: Sims24 Date: Thu, 8 Oct 2015 10:23:35 +0200 Subject: [PATCH] Update sessions.pm My bad, fix dumb copy/paste and typo --- network/juniper/common/screenos/mode/sessions.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/juniper/common/screenos/mode/sessions.pm b/network/juniper/common/screenos/mode/sessions.pm index 9ee4e8f73..b529e1922 100644 --- a/network/juniper/common/screenos/mode/sessions.pm +++ b/network/juniper/common/screenos/mode/sessions.pm @@ -78,7 +78,7 @@ sub run { my $spu_done = 0; my $cp_total = $result->{$oid_nsResSessMaxium}; my $cp_used = $result->{$oid_nsResSessAllocate}; - my $cp_failed = $result->{oid_nsResSessAllocate}; + my $cp_failed = $result->{$oid_nsResSessFailed}; my $prct_used = $cp_used * 100 / $cp_total; my $prct_failed = $cp_failed * 100 / $cp_total; $spu_done = 1;