From 17c0fd17d68db75e2f603bc4b70588ad4c836177 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 15 May 2017 11:16:36 +0200 Subject: [PATCH] + Fix watchguard policy usage --- network/watchguard/snmp/mode/policyusage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/watchguard/snmp/mode/policyusage.pm b/network/watchguard/snmp/mode/policyusage.pm index 8876f555a..4ffd00007 100644 --- a/network/watchguard/snmp/mode/policyusage.pm +++ b/network/watchguard/snmp/mode/policyusage.pm @@ -141,7 +141,7 @@ sub manage_selection { $self->{cache_name} = "watchguard_" . $self->{mode} . '_' . $options{snmp}->get_hostname() . '_' . $options{snmp}->get_port() . '_' . (defined($self->{option_results}->{filter_counters}) ? md5_hex($self->{option_results}->{filter_counters}) : md5_hex('all')) . '_' . - (defined($self->{option_results}->{wgPolicyName}) ? md5_hex($self->{option_results}->{wgPolicyName}) : md5_hex('all')); + (defined($self->{option_results}->{filter_name}) ? md5_hex($self->{option_results}->{filter_name}) : md5_hex('all')); } 1;