From 89658f6d6c0cea83f62109ad15f93df89873e499 Mon Sep 17 00:00:00 2001
From: Martin Willi <martin@strongswan.org>
Date: Thu, 15 May 2008 09:26:47 +0000
Subject: static leases use 0, not NULL timeout fixed static leases

---
 src/charon/plugins/sql/sqlite.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/charon/plugins/sql/sqlite.sql')

diff --git a/src/charon/plugins/sql/sqlite.sql b/src/charon/plugins/sql/sqlite.sql
index 760cf1b04..49d350129 100644
--- a/src/charon/plugins/sql/sqlite.sql
+++ b/src/charon/plugins/sql/sqlite.sql
@@ -159,7 +159,7 @@ CREATE TABLE pools (
   start BLOB NOT NULL,
   end BLOB NOT NULL,
   next BLOB NOT NULL,
-  timeout INTEGER DEFAULT NULL,
+  timeout INTEGER NOT NULL,
   UNIQUE (name)
 );
 DROP INDEX IF EXISTS pools_name;
-- 
cgit v1.2.3

