Commit 05dfc5e1 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add "assigned_ip" to tunnels table. This is the IP that the (tunnel)

interface should be configured to. Another possibility (and one we may
switch to) is to add the IP to the interfaces table so it gets
returned in the normal ifconfig, but thats going to require a number
of cascading changes that I do not want to deal with yet.
parent b5f1ee0e
...@@ -762,6 +762,7 @@ CREATE TABLE tunnels ( ...@@ -762,6 +762,7 @@ CREATE TABLE tunnels (
password varchar(32) NOT NULL default '', password varchar(32) NOT NULL default '',
encrypt tinyint(3) unsigned NOT NULL default '0', encrypt tinyint(3) unsigned NOT NULL default '0',
compress tinyint(3) unsigned NOT NULL default '0', compress tinyint(3) unsigned NOT NULL default '0',
assigned_ip varchar(32) NOT NULL default '',
PRIMARY KEY (pid,eid,node_id,vname) PRIMARY KEY (pid,eid,node_id,vname)
) TYPE=MyISAM; ) TYPE=MyISAM;
......
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