From 03f00c86ee1cde8762d323f0f2bd6636cc5572bc Mon Sep 17 00:00:00 2001 From: Ying Date: Tue, 29 Jan 2019 17:19:33 -0800 Subject: [PATCH] Fix: port should be integer --- mctest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mctest.py b/mctest.py index 6c3dd08..b8b2416 100755 --- a/mctest.py +++ b/mctest.py @@ -82,7 +82,7 @@ def sender(mgroup): if args.ttl: mttl = int(args.ttl) if args.port: - mport = args.port + mport = int(args.port) if args.send: message = args.send