From f980be58aec045cbe5154fabba7d02b801f8172d Mon Sep 17 00:00:00 2001 From: Nils Kneuper Date: Mon, 9 Nov 2009 20:00:58 +0000 Subject: [PATCH] set addonserver port to 15001... ...to make sure that it does not interfere with (more common) older versions that might still be used by distributions relying on anchient versions (debian anyone? ;) ) --- data/tools/wesnoth/campaignserver_client.py | 2 +- src/addon_checks.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/tools/wesnoth/campaignserver_client.py b/data/tools/wesnoth/campaignserver_client.py index 62914592a2df..922faf70b3f3 100755 --- a/data/tools/wesnoth/campaignserver_client.py +++ b/data/tools/wesnoth/campaignserver_client.py @@ -10,7 +10,7 @@ dumpi = 0 class CampaignClient: # First port listed will be used as default. - portmap = (("15005", "1.8.x"), ("15004", "1.7.x"), ("15003", "1.6.x")) + portmap = (("15001", "1.8.x"), ("15004", "1.7.x"), ("15003", "1.6.x"), ("15005", "1.4.x")) def __init__(self, address = None): """ diff --git a/src/addon_checks.cpp b/src/addon_checks.cpp index 11e969994283..7ae74ab59725 100644 --- a/src/addon_checks.cpp +++ b/src/addon_checks.cpp @@ -20,7 +20,7 @@ #include -const unsigned short default_campaignd_port = 15005; +const unsigned short default_campaignd_port = 15001; static bool two_dots(char a, char b) {