mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-14 12:22:48 -04:00
Implemented RNode interface driver
This commit is contained in:
parent
0ce144c760
commit
9bfb7ae2d7
6 changed files with 272 additions and 86 deletions
|
@ -12,10 +12,12 @@ class UdpInterface(Interface):
|
|||
forward_port = None
|
||||
owner = None
|
||||
|
||||
def __init__(self, owner, bindip=None, bindport=None, forwardip=None, forwardport=None):
|
||||
def __init__(self, owner, name, bindip=None, bindport=None, forwardip=None, forwardport=None):
|
||||
self.IN = True
|
||||
self.OUT = False
|
||||
|
||||
self.name = name
|
||||
|
||||
if (bindip != None and bindport != None):
|
||||
self.receives = True
|
||||
self.bind_ip = bindip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue