From 89dbd36a1adba954669aad8b8ff69da85edfa0a7 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Mon, 7 Jan 2013 10:02:46 +0100 Subject: [PATCH] fixed a reference --- lib/bind.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bind.pm b/lib/bind.pm index 78aacce..905337f 100644 --- a/lib/bind.pm +++ b/lib/bind.pm @@ -259,7 +259,7 @@ sub bind_update { my $data = XMLin($response->content); my $value; - $value = $data->{bind}->{statistics}->{server}->{requests}->{opcode}->{QUERY}->{counter}; + $value = $data->{bind}->{statistics}->{server}->{requests}->{opcode}->{counter}; $str = $n . "totalinq"; $totalinq = $value - ($config->{bind_hist}->{$str} || 0); $totalinq = 0 unless $totalinq != $value;