Fix syntax error in Util/SNMP.pm

This commit is contained in:
Oliver Gorwits
2013-10-22 15:39:22 +01:00
parent aab5933de8
commit 91a90350d1

View File

@@ -331,7 +331,7 @@ sub snmp_comm_reindex {
and $c->{tag} eq (eval { $device->community->snmp_auth_tag } || '');
$prefix = $c->{context_prefix} and last;
}
my $prefix ||= 'vlan-';
$prefix ||= 'vlan-';
$snmp->update(Context => ($prefix . $vlan));
}
else {