diff options
author | ng0 <ng0@n0.is> | 2019-08-15 09:52:39 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-08-15 09:52:39 +0000 |
commit | 36fb08f81b748620e97d7d8e2d4255b77e78c545 (patch) | |
tree | 19aa5019c9e9cbf53d74e272fddc8cbc48b39e51 /tests/dictserver.py.in | |
parent | 765f80c1e27acb585eebef46a97ffc769e452879 (diff) | |
parent | aa73eb47bc8583070734696b25b34ad54c2c1f5e (diff) | |
download | gnurl-36fb08f81b748620e97d7d8e2d4255b77e78c545.tar.gz gnurl-36fb08f81b748620e97d7d8e2d4255b77e78c545.tar.bz2 gnurl-36fb08f81b748620e97d7d8e2d4255b77e78c545.zip |
Merge tag 'curl-7_65_3'
7.65.3
Diffstat (limited to 'tests/dictserver.py.in')
-rwxr-xr-x | tests/dictserver.py.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dictserver.py.in b/tests/dictserver.py.in index 5a8dc3ed4..9f2cc984b 100755 --- a/tests/dictserver.py.in +++ b/tests/dictserver.py.in @@ -33,7 +33,7 @@ def dictserver(options): with open(options.pidfile, "w") as f: f.write("{0}".format(pid)) - local_bind = (HOST, options.port) + local_bind = (options.host, options.port) log.info("[DICT] Listening on %s", local_bind) # Need to set the allow_reuse on the class, not on the instance. @@ -83,6 +83,8 @@ def get_options(): parser.add_argument("--port", action="store", default=9016, type=int, help="port to listen on") + parser.add_argument("--host", action="store", default=HOST, + help="host to listen on") parser.add_argument("--verbose", action="store", type=int, default=0, help="verbose output") parser.add_argument("--pidfile", action="store", |