mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Use 0.0.0.0 by default for server host. Fixes https://github.com/GNS3/gns3-server/issues/1663
This commit is contained in:
1 parent
1b845225b2
commit
9d47050dff
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -71,7 +71,7 @@ def test_parse_arguments(capsys, tmpdir):
|
||||
assert "optional arguments" in out
|
||||
|
||||
assert run.parse_arguments(["--host", "192.168.1.1"]).host == "192.168.1.1"
|
||||
assert run.parse_arguments([]).host == "localhost"
|
||||
assert run.parse_arguments([]).host == "0.0.0.0"
|
||||
server_config["host"] = "192.168.1.2"
|
||||
assert run.parse_arguments(["--host", "192.168.1.1"]).host == "192.168.1.1"
|
||||
assert run.parse_arguments([]).host == "192.168.1.2"
|
||||
|
||||
Reference in new issue
Block a user