mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-24 07:21:07 -04:00
Merge branch 'master' of github.com:markqvist/Reticulum
This commit is contained in:
commit
446f5c0989
2 changed files with 3 additions and 1 deletions
|
@ -993,7 +993,6 @@ class RNodeSubInterface(Interface):
|
|||
self.announce_rate_target = None
|
||||
|
||||
self.mode = None
|
||||
self.announce_cap = None
|
||||
self.bitrate = None
|
||||
self.ifac_size = None
|
||||
|
||||
|
|
|
@ -168,6 +168,9 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
|
|||
stats = None
|
||||
if remote:
|
||||
try:
|
||||
if management_identity is None:
|
||||
raise ValueError("Remote management requires an identity file. Use -i to specify the path to a management identity.")
|
||||
|
||||
dest_len = (RNS.Reticulum.TRUNCATED_HASHLENGTH//8)*2
|
||||
if len(remote) != dest_len:
|
||||
raise ValueError("Destination length is invalid, must be {hex} hexadecimal characters ({byte} bytes).".format(hex=dest_len, byte=dest_len//2))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue