diff --git a/hotspot_proxy_v2.py b/hotspot_proxy_v2.py index 985f2c7..0bb0dbb 100644 --- a/hotspot_proxy_v2.py +++ b/hotspot_proxy_v2.py @@ -259,7 +259,7 @@ class API(NetstringReceiver): _dmrid = int(_dmrid) _dmrid = bytes_4(_dmrid) _options = _message[10:] - _cmd = _message[11:15] + _cmd = _message[10:14] if _cmd == b'RPTO' and (_dmrid in self.peerTrack): if self.debug: