This commit is contained in:
Jose Gonzalez 2021-03-23 16:15:57 +01:00
parent 4978ac3081
commit 910154389e
1 changed files with 1 additions and 1 deletions

View File

@ -2122,7 +2122,7 @@ sub snmp_get_command {
$command .= " -x$self->{'snmp_privacy_method'} -X \'$self->{'snmp_privacy_pass'}\' ";
}
} else {
$command .= " -c$community$vlan ";
$command .= " -c\'$community\'$vlan ";
}
return "$command $device $oid 2>$DEVNULL";