Commit a5cd1c69 authored by Weibin Sun's avatar Weibin Sun Committed by Robert Ricci

Bug fix: snmpit_arista, wrong arguments order when calling callRPC in setPortVlan.

parent 3c2416f2
......@@ -679,7 +679,7 @@ sub setPortVlan($$@) {
my $id = $self->{NAME} . "::setPortVlan($vlan_number)";
$self->debug($id."\n");
if (! $self->callRPC('vlanTagExist', $id, $vlan_number)) {
if (! $self->callRPC($id, 'vlanTagExist', $vlan_number)) {
warn "VLAN $vlan_number does not exist on $self->{NAME}\n";
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment