consistent display of strongSwan version
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ static bool initialize(private_daemon_t *this, bool syslog, level_t levels[])
|
||||
|
||||
initialize_loggers(this, !syslog, levels);
|
||||
|
||||
DBG1(DBG_DMN, "starting charon (strongSwan Version %s)", VERSION);
|
||||
DBG1(DBG_DMN, "Starting IKEv2 charon daemon (strongSwan "VERSION")");
|
||||
|
||||
/* load secrets, ca certificates and crls */
|
||||
this->public.processor = processor_create();
|
||||
|
||||
@@ -375,7 +375,7 @@ static void status(private_stroke_list_t *this, stroke_msg_t *msg, FILE *out, bo
|
||||
time_t now = time(NULL);
|
||||
u_int size, online, offline;
|
||||
|
||||
fprintf(out, "Daemon status (charon "VERSION"):\n");
|
||||
fprintf(out, "Status of IKEv2 charon daemon (strongSwan "VERSION"):\n");
|
||||
fprintf(out, " uptime: %V, since %T\n", &now, &this->uptime, &this->uptime, FALSE);
|
||||
fprintf(out, " worker threads: %d idle of %d,",
|
||||
charon->processor->get_idle_threads(charon->processor),
|
||||
|
||||
Reference in New Issue
Block a user