Commit 09c62e98 authored by Robert Ricci's avatar Robert Ricci

Fix a small bug that affected the '-d' and '-e' options (but not the

en/disabling of ports through other methods, like creating and
deleting VLANs.)
parent 5e4a16b7
......@@ -391,7 +391,7 @@ foreach my $command (@commands) {
last;
};
/portcontrol/ && do {
my $portcommand = @args;
my ($portcommand) = @args;
$exitval += doPortControl(\@stacks,$portcommand,@ports);
last;
};
......
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