aboutsummaryrefslogtreecommitdiff
path: root/cryptech_muxd
diff options
context:
space:
mode:
Diffstat (limited to 'cryptech_muxd')
-rwxr-xr-xcryptech_muxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptech_muxd b/cryptech_muxd
index bc77a2e..d2fd54e 100755
--- a/cryptech_muxd
+++ b/cryptech_muxd
@@ -383,7 +383,7 @@ class ProbeIOStream(SerialIOStream):
is_cty = any(prompt in response for prompt in (b"Username:", b"Password:", b"cryptech>"))
try:
- is_rpc = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END
+ is_rpc = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END[0]
except ValueError:
is_rpc = False
except IndexError: