[LEDE-DEV] umdns: query response only every 60s

Philipp Meier philipp.meier at neratec.com
Tue Sep 26 07:41:35 PDT 2017


Hi

When using umdns I experience the follow not expected behavior:

There is no mDNS response sent for a service where an announcement or a 
response has been sent in the last 60 seconds (see service.c function 
service_timeout).

1. I started the LEDE device
2. Then I started a PC application
3. In the PC app I sent out an mDNS query
4. I wondered why I did not get a response

Then by looking at the source code I detected the service_timeout 
function in service.c and now see that when I wait long enough with 
above step 3, then I get the expected response from LEDE.

In the mDSN RFC I cannot directly see any such requirement. But I might 
interpret it wrong.

Why is LEDE umdns only answering queries for a certain service every 60s?

Regards
Philipp



More information about the Lede-dev mailing list