Skip to content

Commit 7e689cf

Browse files
authored
Merge pull request #601 from mfncooper/fix_386
Don't announce via DNS-SD if KISS port not configured
2 parents 03f9a48 + fdc09de commit 7e689cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/direwolf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ int main (int argc, char *argv[])
11371137
kissnet_init (&misc_config);
11381138

11391139
#if (USE_AVAHI_CLIENT|USE_MACOS_DNSSD)
1140-
if (misc_config.kiss_port > 0 && misc_config.dns_sd_enabled)
1140+
if (misc_config.kiss_port[0] > 0 && misc_config.dns_sd_enabled)
11411141
dns_sd_announce(&misc_config);
11421142
#endif
11431143

0 commit comments

Comments
 (0)