Skip to content

Commit

Permalink
make it possible to identify the same session over different mdns rec…
Browse files Browse the repository at this point in the history
…ords: include a uuid

git-svn-id: https://xpra.org/svn/Xpra/trunk@14009 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 6, 2016
1 parent 4d2ab08 commit 2e25e8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,10 +1337,12 @@ def kill_dbus():

#publish mdns records:
if opts.mdns:
from xpra.os_util import get_hex_uuid
from xpra.platform.info import get_username
mdns_info = {
"display" : display_name,
"username" : get_username(),
"uuid" : get_hex_uuid(),
}
if opts.session_name:
mdns_info["session"] = opts.session_name
Expand Down

0 comments on commit 2e25e8e

Please sign in to comment.