aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-04-06 12:15:05 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-04-06 12:15:05 +0000
commit1b247314fd05809f339398c85fce4e92be447f06 (patch)
tree80c026710922e8952ff056fdb77cde22dce51097 /src
parentbc722433bed31889856998a82d5c086719bae7c9 (diff)
downloadstrongswan-1b247314fd05809f339398c85fce4e92be447f06.tar.bz2
strongswan-1b247314fd05809f339398c85fce4e92be447f06.tar.xz
default is hostaccess=no
Diffstat (limited to 'src')
-rw-r--r--src/charon/plugins/sql/mysql.sql2
-rw-r--r--src/charon/plugins/sql/sqlite.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/plugins/sql/mysql.sql b/src/charon/plugins/sql/mysql.sql
index a480601a3..aefab21dc 100644
--- a/src/charon/plugins/sql/mysql.sql
+++ b/src/charon/plugins/sql/mysql.sql
@@ -18,7 +18,7 @@ CREATE TABLE `child_configs` (
`rekeytime` mediumint(8) unsigned NOT NULL default '1200',
`jitter` mediumint(8) unsigned NOT NULL default '60',
`updown` varchar(128) collate utf8_unicode_ci default NULL,
- `hostaccess` tinyint(1) unsigned NOT NULL default '1',
+ `hostaccess` tinyint(1) unsigned NOT NULL default '0',
`mode` tinyint(4) unsigned NOT NULL default '1',
PRIMARY KEY (`id`),
INDEX (`name`)
diff --git a/src/charon/plugins/sql/sqlite.sql b/src/charon/plugins/sql/sqlite.sql
index f072a0618..1acf45620 100644
--- a/src/charon/plugins/sql/sqlite.sql
+++ b/src/charon/plugins/sql/sqlite.sql
@@ -17,7 +17,7 @@ CREATE TABLE child_configs (
rekeytime INTEGER NOT NULL DEFAULT '1200',
jitter INTEGER NOT NULL DEFAULT '60',
updown TEXT DEFAULT NULL,
- hostaccess INTEGER NOT NULL DEFAULT '1',
+ hostaccess INTEGER NOT NULL DEFAULT '0',
mode INTEGER NOT NULL DEFAULT '1'
);
DROP INDEX IF EXISTS child_configs_name;