diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-09 00:32:32 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-09 00:32:32 +0000 |
commit | aa458a0a13d18882354f33c07b0a4e8e82e7a424 (patch) | |
tree | fe2798a3f057d2ef9e177a183afec43e973c28a5 /avahi-utils/avahi-publish-service.in | |
parent | 707e763398063186c20d8aba3abdef20e3d39253 (diff) |
* Update HACKING
* Change DBUS API: txt record lists are now coded as "aay" instead of "as".
Unfortunately this triggers this bug:
https://bugs.freedesktop.org/show_bug.cgi?id=4023
If you want to use avahi-publish-service you need to apply the included patch.
* change avahi-bookmarks to listen on 127.0.0.1 only
* add ftp and https browsing support to avahi-bookmarks, but disable it due to python-dbus bugs
* update avahi module for python to provide functions to convert between tring lists and lists of lists of bytes
* add avahi_strlst_add_anonymous()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@281 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-utils/avahi-publish-service.in')
-rwxr-xr-x | avahi-utils/avahi-publish-service.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-utils/avahi-publish-service.in b/avahi-utils/avahi-publish-service.in index 50b1908..0f278eb 100755 --- a/avahi-utils/avahi-publish-service.in +++ b/avahi-utils/avahi-publish-service.in @@ -88,7 +88,8 @@ def add_service(): print "Adding service '%s' of type '%s' ..." % (name, stype) group.connect_to_signal('StateChanged', entry_group_state_changed) - group.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, name, stype, domain, host, dbus.UInt16(port), txt) + + group.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, name, stype, domain, host, dbus.UInt16(port), avahi.string_array_to_txt_array(txt)) group.Commit() def entry_group_state_changed(state): |