fixes #272
This commit is contained in:
parent
eaaf4f10ae
commit
1fe8d21cf2
|
@ -1002,7 +1002,7 @@ ProcessSSDPData(int s, const char *bufr, int n,
|
|||
{
|
||||
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);
|
||||
}
|
||||
|
|
|
@ -996,6 +996,11 @@ parselanaddr(struct lan_addr_s * lan_addr, const char * str)
|
|||
str);
|
||||
return -1;
|
||||
}
|
||||
#else
|
||||
else
|
||||
{
|
||||
syslog(LOG_NOTICE, "it is advised to use network interface name instead of %s", str);
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
parselan_error:
|
||||
|
|
Loading…
Reference in New Issue