charon outputs strongSwan version
[strongswan.git] / 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);
        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);
                
        /* initialize daemon */
        private_charon->initialize(private_charon);