charon outputs strongSwan version
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 May 2006 05:48:32 +0000 (05:48 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 May 2006 05:48:32 +0000 (05:48 -0000)
src/charon/daemon.c

index 74894e9..42661a3 100644 (file)
@@ -366,6 +366,9 @@ int main(int argc, char *argv[])
        charon = (daemon_t*)private_charon;
        
        private_charon->logger = logger_manager->get_logger(logger_manager, DAEMON);
+
+       private_charon->logger->log(private_charon->logger, CONTROL, 
+                                                               "Starting Charon (strongSwan Version %s)", VERSION);
                
        /* initialize daemon */
        private_charon->initialize(private_charon);