Print the kind of *Swan during starter startup
authorMartin Willi <martin@revosec.ch>
Wed, 13 Jun 2012 10:18:25 +0000 (12:18 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 14 Jun 2012 08:25:48 +0000 (10:25 +0200)
src/starter/starter.c

index 40500b6..7bd321a 100644 (file)
@@ -395,7 +395,10 @@ int main (int argc, char **argv)
 
        init_log("ipsec_starter");
 
-       DBG1(DBG_APP, "Starting strongSwan "VERSION" IPsec [starter]...");
+       DBG1(DBG_APP, "Starting %sSwan "VERSION" IPsec [starter]...",
+               lib->settings->get_bool(lib->settings,
+                       "charon.i_dont_care_about_security_and_use_aggressive_mode_psk",
+                               FALSE) ? "weak" : "strong");
 
 #ifdef LOAD_WARNING
        load_warning = TRUE;