mirror of https://github.com/wb2osz/direwolf.git
Quick hack until I can handle multiple KISS TCP ports properly.
This commit is contained in:
parent
7ac1262fdf
commit
667e9caaf2
|
@ -220,7 +220,8 @@ static void *avahi_mainloop(void *arg)
|
|||
void dns_sd_announce (struct misc_config_s *mc)
|
||||
{
|
||||
text_color_set(DW_COLOR_DEBUG);
|
||||
kiss_port = mc->kiss_port;
|
||||
//kiss_port = mc->kiss_port; // now an array.
|
||||
kiss_port = mc->kiss_port[0]; // FIXME: Quick hack until I can handle multiple TCP ports properly.
|
||||
|
||||
int error;
|
||||
|
||||
|
|
|
@ -59,7 +59,8 @@ static void registerServiceCallBack(DNSServiceRef sdRef, DNSServiceFlags flags,
|
|||
|
||||
void dns_sd_announce (struct misc_config_s *mc)
|
||||
{
|
||||
int kiss_port = mc->kiss_port;
|
||||
//int kiss_port = mc->kiss_port; // now an array.
|
||||
int kiss_port = mc->kiss_port[0]; // FIXME: Quick hack until I can handle multiple TCP ports properly.
|
||||
|
||||
if (mc->dns_sd_name[0]) {
|
||||
name = strdup(mc->dns_sd_name);
|
||||
|
|
Loading…
Reference in New Issue