Clean up mdnsresponder whitespace issues
This commit is contained in:
parent
e84b855368
commit
2d0e868011
2 changed files with 65 additions and 66 deletions
|
|
@ -488,7 +488,7 @@ void mdns_add_A(const char* rKey, u32_t ttl, ip_addr_t addr)
|
||||||
}
|
}
|
||||||
|
|
||||||
void mdns_add_facility( const char* instanceName, // Friendly name, need not be unique
|
void mdns_add_facility( const char* instanceName, // Friendly name, need not be unique
|
||||||
const char* serviceName, // Must be _name
|
const char* serviceName, // Must be "name", e.g. "hap" or "http"
|
||||||
const char* addText, // Must be <key>=<value>
|
const char* addText, // Must be <key>=<value>
|
||||||
mdns_flags flags, // TCP or UDP
|
mdns_flags flags, // TCP or UDP
|
||||||
u16_t onPort, // port number
|
u16_t onPort, // port number
|
||||||
|
|
@ -521,7 +521,6 @@ void mdns_add_facility( const char* instanceName, // Friendly name, need not b
|
||||||
// Optional, makes us browsable
|
// Optional, makes us browsable
|
||||||
if (flags & mdns_Browsable)
|
if (flags & mdns_Browsable)
|
||||||
mdns_add_PTR("_services._dns-sd._udp.local.",ttl,key);
|
mdns_add_PTR("_services._dns-sd._udp.local.",ttl,key);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void mdns_update_ipaddr(struct ip_info* ipInfo)
|
static void mdns_update_ipaddr(struct ip_info* ipInfo)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue