mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-12 07:43:32 -07:00
Check link MTU discovery is enabled
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user