set long-forgotten DPD defaults
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 15 Apr 2008 11:27:45 +0000 (11:27 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 15 Apr 2008 11:27:45 +0000 (11:27 -0000)
src/starter/confread.c

index bae3437..42b737e 100644 (file)
@@ -79,6 +79,8 @@ static void default_values(starter_config_t *cfg)
        cfg->conn_default.sa_keying_tries       = SA_REPLACEMENT_RETRIES_DEFAULT;
        cfg->conn_default.addr_family           = AF_INET;
        cfg->conn_default.tunnel_addr_family    = AF_INET;
+       cfg->conn_default.dpd_delay             =  30; /* seconds */
+       cfg->conn_default.dpd_timeout           = 150; /* seconds */
 
        cfg->conn_default.left.seen  = LEMPTY;
        cfg->conn_default.right.seen = LEMPTY;