version information added to log file
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <time.h>
|
||||
|
||||
#include "telnet.h"
|
||||
#include "ver.h"
|
||||
|
||||
#define RX_BUF_SIZE 1024
|
||||
#define MAX_HOST_NAME 64
|
||||
@@ -841,6 +842,10 @@ int main(int argc, char *argv[])
|
||||
perror("Failed to open log file");
|
||||
return 1;
|
||||
}
|
||||
ttynvt_log("ttynvt ver:%u:%02u started, dev:%s\n",
|
||||
TTYNVT_VER_MAJOR,
|
||||
TTYNVT_VER_MINOR,
|
||||
param.dev_name);
|
||||
}
|
||||
else
|
||||
lfd = -1;
|
||||
|
||||
Reference in New Issue
Block a user