diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-26 12:05:43 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-26 12:05:43 (GMT) |
commit | fd6367007ae4af085382bb778bfe8fe8a24f12fb (patch) | |
tree | 511dc03f38035e9d435feb99cd3e33cec4e4d658 /shell | |
parent | 5f628f1a4fcb006afd006a459bd14f05e9ce18c5 (diff) |
Get chat to work again
Diffstat (limited to 'shell')
-rw-r--r-- | shell/PresenceService/PresenceService.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/PresenceService/PresenceService.py b/shell/PresenceService/PresenceService.py index 2c299af..72ef20e 100644 --- a/shell/PresenceService/PresenceService.py +++ b/shell/PresenceService/PresenceService.py @@ -589,6 +589,8 @@ class PresenceService(object): # Use random currently unassigned multicast address address = u"232.%d.%d.%d" % (random.randint(0, 254), random.randint(1, 254), random.randint(1, 254)) + properties['address'] = address + properties['port'] = port if port and port != -1 and (type(port) != type(1) or port <= 1024 or port >= 65535): raise ValueError("port must be a number between 1024 and 65535") |