mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-13 17:32:53 -04:00
Refactored processIncoming to process_incoming
This commit is contained in:
parent
434ebd2954
commit
823bfd537c
14 changed files with 31 additions and 31 deletions
|
@ -91,7 +91,7 @@ class UDPInterface(Interface):
|
|||
self.owner = owner
|
||||
address = (self.bind_ip, self.bind_port)
|
||||
socketserver.UDPServer.address_family = socket.AF_INET
|
||||
self.server = socketserver.UDPServer(address, handlerFactory(self.processIncoming))
|
||||
self.server = socketserver.UDPServer(address, handlerFactory(self.process_incoming))
|
||||
|
||||
thread = threading.Thread(target=self.server.serve_forever)
|
||||
thread.daemon = True
|
||||
|
@ -105,7 +105,7 @@ class UDPInterface(Interface):
|
|||
self.forward_port = forwardport
|
||||
|
||||
|
||||
def processIncoming(self, data):
|
||||
def process_incoming(self, data):
|
||||
self.rxb += len(data)
|
||||
self.owner.inbound(data, self)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue