Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fridolinsiegmund committed Aug 22, 2024
1 parent a9f2eb9 commit 246e049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ptf/dataplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,8 @@ def get_indexes_not_equal(exp_pkt, pkt):
return []
ret = exp_pkt.pkt_match(pkt, with_indexes=True)
if type(ret) == bool:
return ret
# something went wrong, don't mark any bytes red
return None
else:
b, indxs_n_equal = ret
return indxs_n_equal
Expand Down

0 comments on commit 246e049

Please sign in to comment.