mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-03 05:10:09 -05:00
Implemented interface authentication and virtual network segmentation
This commit is contained in:
parent
b701cdd07f
commit
5d90ea565a
4 changed files with 117 additions and 28 deletions
|
|
@ -60,7 +60,8 @@ logfile = None
|
|||
logdest = LOG_STDOUT
|
||||
logtimefmt = "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
random.seed(os.urandom(10))
|
||||
instance_random = random.Random()
|
||||
instance_random.seed(os.urandom(10))
|
||||
|
||||
_always_override_destination = False
|
||||
|
||||
|
|
@ -130,7 +131,7 @@ def log(msg, level=3, _override_destination = False):
|
|||
|
||||
|
||||
def rand():
|
||||
result = random.random()
|
||||
result = instance_random.random()
|
||||
return result
|
||||
|
||||
def hexrep(data, delimit=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue