Commit db59d530 authored by thomas alfroy's avatar thomas alfroy
Browse files

add int for limit packet

parent 53f72938
......@@ -124,7 +124,7 @@ for opt, arg in options:
if opt in ('-e','--ecn'):
ecn = True
if opt in ('-l','--limit'):
MAX_PACKETS = arg
MAX_PACKETS = int(arg)
if opt in ('-h', '--help'):
help()
exit(0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment