Commit fd472e45 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 694da921
......@@ -2493,8 +2493,6 @@ sub doMakeVlan($$@) {
if (!$vlan_number) {
$errors++;
}
$target_vlan->SetTag($vlan_number)
if (!$errors && defined($target_vlan));
}
if (!$errors) {
if (defined($source_vlan)) {
......
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