adding a flag to toggle monitoring of outgoing packets

This commit is contained in:
enus.linden
2009-11-11 17:28:57 +00:00
committed by Salad Dais
parent fe57fbe86e
commit 41b57df548
2 changed files with 2 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ class UDPDispatcher(object):
packet = message()
# enable monitoring of outgoing packets
if self.settings.HANDLE_PACKETS:
if self.settings.HANDLE_OUTGOING_PACKETS:
self.message_handler.handle(packet)
#use circuit manager to get the circuit to send on

View File

@@ -32,6 +32,7 @@ class Settings(object):
# toggle handling udp packets
self.HANDLE_PACKETS = True
self.HANDLE_OUTGOING_PACKETS = False
#~~~~~~~~~~~~~~~~~~
# Logging behaviors