diff options
Diffstat (limited to 'net/avahi-app/files/patch-avahi-daemon_main.c')
-rw-r--r-- | net/avahi-app/files/patch-avahi-daemon_main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/avahi-app/files/patch-avahi-daemon_main.c b/net/avahi-app/files/patch-avahi-daemon_main.c new file mode 100644 index 000000000..c95ab399f --- /dev/null +++ b/net/avahi-app/files/patch-avahi-daemon_main.c @@ -0,0 +1,14 @@ +--- avahi-daemon/main.c.orig 2007-08-26 00:48:40.000000000 -0400 ++++ avahi-daemon/main.c 2007-08-26 00:49:04.000000000 -0400 +@@ -317,6 +317,11 @@ static void update_browse_domains(void) + int n; + char **p; + ++ if (!resolv_conf_search_domains) { ++ avahi_server_set_browse_domains(avahi_server, NULL); ++ return; ++ } ++ + l = avahi_string_list_copy(config.server_config.browse_domains); + + for (p = resolv_conf_search_domains, n = 0; *p && n < BROWSE_DOMAINS_MAX; p++, n++) { |