From 123fd1de928d80c751bb8fe67605717d1469b313 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 28 Apr 2022 11:51:04 +0200 Subject: [PATCH] Configure IFAC size in bits --- RNS/Reticulum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index ea53ea8..639dd73 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -360,8 +360,8 @@ class Reticulum: ifac_size = None if "ifac_size" in c: - if c.as_int("ifac_size") >= Reticulum.IFAC_MIN_SIZE: - ifac_size = c.as_int("ifac_size") + if c.as_int("ifac_size") >= Reticulum.IFAC_MIN_SIZE*8: + ifac_size = c.as_int("ifac_size")//8 ifac_netname = None if "networkname" in c: