Commit 6330000d authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix; when a shared node is used, we reset the encap style to

vlan since that is required, but lets not do this for tunnels since
that breaks them.
parent 6991d85f
......@@ -4787,7 +4787,8 @@ sub AllocNodes($)
#
if ($virtnode->_onsharednode()) {
foreach my $virtlan ($virtnode->memberlist()) {
$virtlan->_encapstyle("vlan");
$virtlan->_encapstyle("vlan")
if (!$virtlan->_tunnel());
}
}
}
......
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