]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
encoding of MODE_TUNNEL changed
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 May 2010 16:36:14 +0000 (18:36 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 May 2010 16:36:14 +0000 (18:36 +0200)
src/libcharon/plugins/sql/mysql.sql
src/libcharon/plugins/sql/sqlite.sql
testing/hosts/default/etc/ipsec.d/tables.sql

index ea4b7e7cb87c361c1e82e4dd36e2319a0cffbb96..f4a62a6f85f07f32526f8402b1f5dc477da5585f 100644 (file)
@@ -19,7 +19,7 @@ CREATE TABLE `child_configs` (
   `jitter` mediumint(8) unsigned NOT NULL default '60',
   `updown` varchar(128) collate utf8_unicode_ci default NULL,
   `hostaccess` tinyint(1) unsigned NOT NULL default '0',
-  `mode` tinyint(4) unsigned NOT NULL default '1',
+  `mode` tinyint(4) unsigned NOT NULL default '2',
   `dpd_action` tinyint(4) unsigned NOT NULL default '0',
   `close_action` tinyint(4) unsigned NOT NULL default '0',
   `ipcomp` tinyint(4) unsigned NOT NULL default '0',
index a036eeee8ed1a3d7cfcc1feb0b6fad71c68ecefb..55e34e58d7ec6314eb976f0cf0a9e7fa11b59720 100644 (file)
@@ -18,7 +18,7 @@ CREATE TABLE child_configs (
   jitter INTEGER NOT NULL DEFAULT '60',
   updown TEXT DEFAULT NULL,
   hostaccess INTEGER NOT NULL DEFAULT '0',
-  mode INTEGER NOT NULL DEFAULT '1',
+  mode INTEGER NOT NULL DEFAULT '2',
   dpd_action INTEGER NOT NULL DEFAULT '0',
   close_action INTEGER NOT NULL DEFAULT '0',
   ipcomp INTEGER NOT NULL DEFAULT '0'
index 0e880826d119d75229dcaaa11957aa811a044e8a..b768c6ed2b42f20e6cedb518e0e896595f15ac2e 100644 (file)
@@ -17,7 +17,7 @@ CREATE TABLE child_configs (
   jitter INTEGER NOT NULL DEFAULT '180',
   updown TEXT DEFAULT NULL,
   hostaccess INTEGER NOT NULL DEFAULT '0',
-  mode INTEGER NOT NULL DEFAULT '1',
+  mode INTEGER NOT NULL DEFAULT '2',
   dpd_action INTEGER NOT NULL DEFAULT '0',
   close_action INTEGER NOT NULL DEFAULT '0',
   ipcomp INTEGER NOT NULL DEFAULT '0'
@@ -197,9 +197,9 @@ CREATE TABLE ike_sas (
   id INTEGER NOT NULL,
   initiator INTEGER NOT NULL,
   local_id_type INTEGER NOT NULL,
-  local_id_data BLOB DEFAULT NULL,
+  local_id_data BLOB NOT NULL,
   remote_id_type INTEGER NOT NULL,
-  remote_id_data BLOB DEFAULT NULL,
+  remote_id_data BLOB NOT NULL,
   host_family INTEGER NOT NULL,
   local_host_data BLOB NOT NULL,
   remote_host_data BLOB NOT NULL,