aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-05-15 18:36:14 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-05-15 18:36:14 +0200
commit31b39e5f7cf466aa974d95023e949be54d43d155 (patch)
tree2250855d7fc085b2d2752ef3fc73c27614d03fab /src/libcharon/plugins/sql
parent20ae6eccf51b42377553e9b886e36938d5292fa7 (diff)
downloadstrongswan-31b39e5f7cf466aa974d95023e949be54d43d155.tar.bz2
strongswan-31b39e5f7cf466aa974d95023e949be54d43d155.tar.xz
encoding of MODE_TUNNEL changed
Diffstat (limited to 'src/libcharon/plugins/sql')
-rw-r--r--src/libcharon/plugins/sql/mysql.sql2
-rw-r--r--src/libcharon/plugins/sql/sqlite.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/sql/mysql.sql b/src/libcharon/plugins/sql/mysql.sql
index ea4b7e7cb..f4a62a6f8 100644
--- a/src/libcharon/plugins/sql/mysql.sql
+++ b/src/libcharon/plugins/sql/mysql.sql
@@ -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',
diff --git a/src/libcharon/plugins/sql/sqlite.sql b/src/libcharon/plugins/sql/sqlite.sql
index a036eeee8..55e34e58d 100644
--- a/src/libcharon/plugins/sql/sqlite.sql
+++ b/src/libcharon/plugins/sql/sqlite.sql
@@ -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'