This commit is contained in:
Thomas Bernard 2018-04-12 10:49:53 +02:00
parent eaaf4f10ae
commit 1fe8d21cf2
2 changed files with 6 additions and 1 deletions

View File

@ -1002,7 +1002,7 @@ ProcessSSDPData(int s, const char *bufr, int n,
{ {
if(lan_addr != NULL) if(lan_addr != NULL)
{ {
if(lan_addr->index != (unsigned)source_if) if(lan_addr->index != (unsigned)source_if && lan_addr->index != 0)
{ {
syslog(LOG_WARNING, "interface index not matching %u != %d", lan_addr->index, source_if); syslog(LOG_WARNING, "interface index not matching %u != %d", lan_addr->index, source_if);
} }

View File

@ -996,6 +996,11 @@ parselanaddr(struct lan_addr_s * lan_addr, const char * str)
str); str);
return -1; return -1;
} }
#else
else
{
syslog(LOG_NOTICE, "it is advised to use network interface name instead of %s", str);
}
#endif #endif
return 0; return 0;
parselan_error: parselan_error: