summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xusbmon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbmon.py b/usbmon.py
index 0bbab3f..9ae4c24 100755
--- a/usbmon.py
+++ b/usbmon.py
@@ -739,7 +739,7 @@ def main(argv):
raise
index += 1
- if urb.addr not in addr:
+ if len(addr) and urb.addr not in addr:
continue
if endp != -1 and urb.endp != endp:
continue