From 874405cbddafd90688310bb48ee8c5bee4e2def7 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 15 Oct 2022 23:14:47 +0200 Subject: [PATCH] Fixed missing announce cap on hotplugged interfaces --- RNS/Reticulum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index a8fa7f5..f8f8c43 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -925,7 +925,7 @@ class Reticulum: else: interface.ifac_size = 8 - interface.announce_cap = announce_cap + interface.announce_cap = announce_cap if announce_cap != None else Reticulum.ANNOUNCE_CAP/100.0 interface.announce_rate_target = announce_rate_target interface.announce_rate_grace = announce_rate_grace interface.announce_rate_penalty = announce_rate_penalty