diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-09-29 22:37:27 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-09-29 22:37:27 +0000 |
commit | 2f5ff259bdb6fa7ddbb3d03dd683f3e034cddad6 (patch) | |
tree | 390ecfe6ce64c37b593d039a6a58768dbe1d5165 /avahi-daemon | |
parent | 473af0094573aca62e50051344ec2fd5f6723e6d (diff) |
Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with a host name set
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon')
-rw-r--r-- | avahi-daemon/static-services.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/static-services.c b/avahi-daemon/static-services.c index 09777cc..36f1608 100644 --- a/avahi-daemon/static-services.c +++ b/avahi-daemon/static-services.c @@ -222,7 +222,7 @@ static void add_static_service_group_to_server(StaticServiceGroup *g) { avahi_server, g->entry_group, AVAHI_IF_UNSPEC, s->protocol, - 0, + s->host_name ? AVAHI_PUBLISH_IS_PROXY : 0, g->chosen_name, s->type, s->domain_name, s->host_name, s->port, s->txt_records) < 0) { |