Commit 9379d1d4 authored by Kirk Webb's avatar Kirk Webb

Quick fix from Leigh for snmpit.

parent c69b02d1
......@@ -3284,7 +3284,7 @@ sub doMakeVlan($$@) {
# a new set anyway.
#
if (!$opt{'whol-magic'}) {
if ($target_vlan->KeepInSync()) {
if ($vlanexists && $target_vlan->KeepInSync()) {
print STDERR "Disabling switch trunks on $target_vlan\n";
if (!$stack->setVlanOnSwitchTrunks($target_vlan->lanid(), 0)) {
print STDERR
......
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