Fixed a typo in a module name.

This commit is contained in:
Ramon Novoa 2014-10-27 13:21:09 +01:00
parent de5dd999c1
commit e2c45548fe
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ sub create_pandora_agent($) {
my $if_desc = ($mac ne '' ? "MAC $mac " : '') . ($ip ne '' ? "IP $ip" : '');
# Check whether the module already exists.
my $module_id = get_agent_module_id($DBH, "if_${if_name}", $agent_id);
my $module_id = get_agent_module_id($DBH, "ifOperStatus_${if_name}", $agent_id);
next if ($module_id > 0);
# Encode problematic characters.