Commit 09064f83 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent efcf1da3
......@@ -3216,6 +3216,8 @@ sub doMakeVlan($$@) {
#
foreach my $port (@ports) {
my $vlan = VLan->FindVlanByPort(undef, $port);
next
if (!defined($vlan));
if (defined($source_vlan) && !$vlan->SameVlan($source_vlan)) {
if (IsPortTagged($port)) {
......
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