mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-01-18 08:20:33 +00:00
Check link MTU discovery is enabled
This commit is contained in:
parent
eaa68c2d04
commit
9b15cf2295
@ -297,7 +297,7 @@ class Link:
|
||||
|
||||
def prove(self):
|
||||
mtu_bytes = b""
|
||||
if self.mtu != RNS.Reticulum.MTU:
|
||||
if RNS.Reticulum.LINK_MTU_DISCOVERY and self.mtu != RNS.Reticulum.MTU:
|
||||
mtu_bytes = Link.mtu_bytes(self.mtu)
|
||||
|
||||
signed_data = self.link_id+self.pub_bytes+self.sig_pub_bytes+mtu_bytes
|
||||
|
Loading…
Reference in New Issue
Block a user