[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Log server fingerprint on startup
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv17726
Modified Files:
router.c
Log Message:
Log server fingerprint on startup
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -p -d -r1.255 -r1.256
--- router.c 19 Mar 2006 01:21:59 -0000 1.255
+++ router.c 22 Mar 2006 03:40:59 -0000 1.256
@@ -354,6 +354,10 @@ init_keys(void)
log_err(LD_FS, "Error writing fingerprint line to file");
return -1;
}
+
+ log(LOG_NOTICE, LD_GENERAL,
+ "Your Tor server's identity key fingerprint is '%s %s'.",
+ options->Nickname, fingerprint);
if (!authdir_mode(options))
return 0;
/* 6. [authdirserver only] load approved-routers file */