Skip to content

Commit

Permalink
sslsniff: fix comparing bytes to string
Browse files Browse the repository at this point in the history
Signed-off-by: keyolk <chanhun.jeong@navercorp.com>
  • Loading branch information
keyolk authored and yonghong-song committed Oct 8, 2020
1 parent 884799f commit 49fdec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sslsniff.py
Expand Up @@ -197,7 +197,7 @@ def print_event(cpu, data, size, rw, evt):

# Filter events by command
if args.comm:
if not args.comm == event.comm:
if not args.comm == event.comm.decode('utf-8', 'replace'):
return

if start == 0:
Expand Down

0 comments on commit 49fdec6

Please sign in to comment.