diff --git a/hblink.py b/hblink.py index 37c617d..48d6ec4 100755 --- a/hblink.py +++ b/hblink.py @@ -144,7 +144,7 @@ class OPENBRIDGE(DatagramProtocol): return if not _hops: - _hops = 0 + _hops = 1 _hops = _hops.to_bytes(1,'big') @@ -399,7 +399,7 @@ class OPENBRIDGE(DatagramProtocol): #_inthops = int.from_bytes(_hops,'big') _inthops = _hops +1 _hops = _inthops.to_bytes(1,'big') - #print(_hops) + print(_hops) # Userland actions -- typically this is the function you subclass for an application self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data,_hash,_hops) #Silently treat a DMRD packet like a keepalive - this is because it's traffic and the