Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/direwolf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ int main (int argc, char *argv[])
kissnet_init (&misc_config);

#if (USE_AVAHI_CLIENT|USE_MACOS_DNSSD)
if (misc_config.kiss_port[0] > 0 && misc_config.dns_sd_enabled)
if (misc_config.dns_sd_enabled)
dns_sd_announce(&misc_config);
#endif

Expand Down Expand Up @@ -1692,6 +1692,10 @@ static void cleanup_linux (int x)
{
text_color_set(DW_COLOR_INFO);
dw_printf ("\nQRT\n");
#if (USE_AVAHI_CLIENT|USE_MACOS_DNSSD)
if (misc_config.dns_sd_enabled)
dns_sd_term ();
#endif
log_term ();
ptt_term ();
dwgps_term ();
Expand Down
Loading
Loading