Commit 3dc1f4f6 authored by Leigh B Stoller's avatar Leigh B Stoller

Add nointerswitch flag to virt_lans.

parent b37b819f
......@@ -5210,6 +5210,7 @@ CREATE TABLE `virt_lans` (
`emulated` tinyint(4) default '0',
`uselinkdelay` tinyint(4) default '0',
`nobwshaping` tinyint(4) default '0',
`nointerswitch` tinyint(1) default '0',
`mustdelay` tinyint(1) default '0',
`usevethiface` tinyint(4) default '0',
`encap_style` enum('alias','veth','veth-ne','vlan','vtun','egre','gre','default') NOT NULL default 'default',
......
#
# Add nointerswitch to virt_lans.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("virt_lans", "nointerswitch")) {
DBQueryFatal("alter table virt_lans add ".
" `nointerswitch` tinyint(1) default '0' ".
"after nobwshaping");
}
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
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