From 91a90350d1426b2227227db6011a35660a8de9ba Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 22 Oct 2013 15:39:22 +0100 Subject: [PATCH] Fix syntax error in Util/SNMP.pm --- Netdisco/lib/App/Netdisco/Util/SNMP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netdisco/lib/App/Netdisco/Util/SNMP.pm b/Netdisco/lib/App/Netdisco/Util/SNMP.pm index 5d29e3c4..bab60eff 100644 --- a/Netdisco/lib/App/Netdisco/Util/SNMP.pm +++ b/Netdisco/lib/App/Netdisco/Util/SNMP.pm @@ -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 {