Commit 64455c6e authored by Mike Hibler's avatar Mike Hibler
Browse files

1.285: More firewall state. Possibly temporary hack, store unique vlan

       ID in firewalls table:
parent cfdf5c00
...@@ -411,6 +411,7 @@ CREATE TABLE firewalls ( ...@@ -411,6 +411,7 @@ CREATE TABLE firewalls (
type enum('ipfw','ipfw2','ipchains','ipfw2-vlan') NOT NULL default 'ipfw', type enum('ipfw','ipfw2','ipchains','ipfw2-vlan') NOT NULL default 'ipfw',
style enum('open','closed','basic') NOT NULL default 'basic', style enum('open','closed','basic') NOT NULL default 'basic',
vlan int(11) default NULL, vlan int(11) default NULL,
vlanid int(11) default NULL,
PRIMARY KEY (pid,eid,fwname), PRIMARY KEY (pid,eid,fwname),
KEY vlan (vlan) KEY vlan (vlan)
) TYPE=MyISAM; ) TYPE=MyISAM;
......
...@@ -2141,3 +2141,8 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -2141,3 +2141,8 @@ last_net_act,last_cpu_act,last_ext_act);
appropriate place in reserved. Then do: appropriate place in reserved. Then do:
alter table nodes drop column cnet_vlan; alter table nodes drop column cnet_vlan;
1.285: More firewall state. Possibly temporary hack, store unique vlan
ID in firewalls table:
alter table firewalls add vlanid int(11) default NULL;
Supports Markdown
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