Fixed Link MDU output in phyparams()

This commit is contained in:
Mark Qvist 2023-03-04 18:37:28 +01:00
parent 777fea9cea
commit 37b2d8a6ec
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ def phyparams():
print("Plaintext Packet MDU : "+str(Packet.PLAIN_MDU)+" bytes") print("Plaintext Packet MDU : "+str(Packet.PLAIN_MDU)+" bytes")
print("Encrypted Packet MDU : "+str(Packet.ENCRYPTED_MDU)+" bytes") print("Encrypted Packet MDU : "+str(Packet.ENCRYPTED_MDU)+" bytes")
print("Link Curve : "+str(Link.CURVE)) print("Link Curve : "+str(Link.CURVE))
print("Link Packet MDU : "+str(Packet.ENCRYPTED_MDU)+" bytes") print("Link Packet MDU : "+str(Link.MDU)+" bytes")
print("Link Public Key Size : "+str(Link.ECPUBSIZE*8)+" bits") print("Link Public Key Size : "+str(Link.ECPUBSIZE*8)+" bits")
print("Link Private Key Size : "+str(Link.KEYSIZE*8)+" bits") print("Link Private Key Size : "+str(Link.KEYSIZE*8)+" bits")