All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 23c5d078 authored by Kirk Webb's avatar Kirk Webb

snmpit_force10.pm:setChannelVlan(): Make error message follow context.

This will help with debugging.
parent 19edc227
......@@ -1959,7 +1959,9 @@ sub setChannelVlan($$$;$) {
my $vlifname = "vlan$vlanid";
my ($res, $out) = $self->{EXP_OBJ}->doCLICmd($cmd, $isconfig, $vlifname);
if ($res) {
warn "$id: Error adding vlan to channel: $out\n";
my $msg = $remove ? "Error removing vlan $vlanid from channel $poname" :
"Error adding vlan $vlanid to channel $poname";
warn "$id: $msg: $out\n";
}
return $res;
}
......
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