add netif, dhcp, netbios, mDSN names

This commit is contained in:
pvvx 2017-03-11 06:10:30 +03:00
parent 255332ad03
commit 30329bd439
18 changed files with 2352 additions and 2319 deletions

View file

@ -25,12 +25,12 @@ uint32_t mDNSPlatformInetAddr(char *cp)
// Mandatory function to get hostname
// called when mDNS initialization
char *mDNSPlatformHostname(void)
_WEAK char *mDNSPlatformHostname(void)
{
#if LWIP_NETIF_HOSTNAME
return xnetif[0].hostname;
#else
return "ameba";
return DEF_HOSTNAME;
#endif
}