Skip to content

Commit

Permalink
show server uuid in "list-mdns" subcommand output
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14013 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 6, 2016
1 parent 814d7c2 commit 0669f0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2480,14 +2480,17 @@ def show_new_found():
recs = found[uq]
for i, rec in enumerate(recs):
iface, _, _, host, address, port, text = rec
uuid = text.get("uuid")
display = text.get("display")
mode = text.get("mode", "")
username = text.get("username", "")
session = text.get("session")
if i==0:
print("* user '%s' on '%s'" % (username, host))
if session:
print(" session '%s'" % session)
print(" session '%s', uuid=%s" % (session, uuid))
elif uuid:
print(" uuid=%s" % uuid)
print(" + %s endpoint on host %s, port %i, interface %s" % (mode, address, port, iface))
dstr = ""
if display.startswith(":"):
Expand Down

0 comments on commit 0669f0e

Please sign in to comment.