[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r15374: Added 'NEWNYM' to Connection.send_signal NEWNYM's code is 0x (torflow/branches/gsoc2008/TorCtl)
Author: fallon
Date: 2008-06-20 12:50:24 -0400 (Fri, 20 Jun 2008)
New Revision: 15374
Modified:
torflow/branches/gsoc2008/TorCtl/TorCtl.py
Log:
Added 'NEWNYM' to Connection.send_signal
NEWNYM's code is 0x03
Modified: torflow/branches/gsoc2008/TorCtl/TorCtl.py
===================================================================
--- torflow/branches/gsoc2008/TorCtl/TorCtl.py 2008-06-20 15:50:05 UTC (rev 15373)
+++ torflow/branches/gsoc2008/TorCtl/TorCtl.py 2008-06-20 16:50:24 UTC (rev 15374)
@@ -695,6 +695,7 @@
"""
sig = { 0x01 : "HUP",
0x02 : "INT",
+ 0x03 : "NEWNYM"
0x0A : "USR1",
0x0C : "USR2",
0x0F : "TERM" }.get(sig,sig)