X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-utils%2Favahi-browse.in;h=3507b417f10467f7f228d1b9ad7ce925ec598b09;hb=ad381a9fff751c693c0209e961d59fef0af8e4e2;hp=69a8bfdeb5cc285c49bb552546f1fd66ff549209;hpb=d8c0d081ea456eeb570b760dc3d747c148691ea8;p=catta diff --git a/avahi-utils/avahi-browse.in b/avahi-utils/avahi-browse.in index 69a8bfd..3507b41 100755 --- a/avahi-utils/avahi-browse.in +++ b/avahi-utils/avahi-browse.in @@ -80,7 +80,7 @@ def siocgifname(interface): def service_resolved(interface, protocol, name, type, domain, host, aprotocol, address, port, txt): print "Service data for service '%s' of type '%s' in domain '%s' on %s.%i:" % (name, type, domain, siocgifname(interface), protocol) - print "\tHost %s (%s), port %i, TXT data: %s" % (host, address, port, str(txt)) + print "\tHost %s (%s), port %i, TXT data: %s" % (host, address, port, avahi.txt_array_to_string_array(txt)) def print_error(err): print "Error:", str(err)