From b176cca9e7e9b53a2a2f5caea1c01fec57b9eb04 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 31 Jan 2022 01:53:12 +0000 Subject: [PATCH] tweak hops handling --- hblink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hblink.py b/hblink.py index a532936..f70d2a4 100755 --- a/hblink.py +++ b/hblink.py @@ -362,8 +362,8 @@ class OPENBRIDGE(DatagramProtocol): #Increment max hops _inthops = _hops +1 - if _inthops > 10: - logger.warning('(%s) MAX HOPS exceed, dropping', self._system) + if _inthops > 20: + logger.warning('(%s) MAX HOPS exceed, dropping. Hops: %s, DST: %s', self._system, _inthops, _int_dst_id) return