default is hostaccess=no

This commit is contained in:
Andreas Steffen 2008-04-06 12:15:05 +00:00
parent bc722433be
commit 1b247314fd
2 changed files with 2 additions and 2 deletions

View File

@ -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`)

View File

@ -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;