+ Fix watchguard policy usage

This commit is contained in:
garnier-quentin 2017-05-15 11:16:36 +02:00
parent e61ae74e61
commit 17c0fd17d6
1 changed files with 1 additions and 1 deletions

View File

@ -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;