[LEDE-DEV] [PATCH umdns 0/3] Stop storing hosts as services

Rafał Miłecki zajec5 at gmail.com
Thu Mar 9 23:59:20 PST 2017


From: Rafał Miłecki <rafal at milecki.pl>

I find storing hosts as services a bit confusing & making code a bit
more complex by requiring extra checks.

This patchset shouldn't change any behavior. I verified it by doing:
ubus call umdns hosts
ubus call umdns browse
before and after every commit. I tested it in environment with:
1) 17.01.0-rc2 running umdns
2) Android smartphone running Bonjour Browser
3) D-Link DCS-2210L IP camera

Rafał Miłecki (3):
  Access cached records (instead of services) to read list of hosts
  Refresh DNS records A and AAAA directly
  Don't cache hosts as services

 cache.c | 30 ++++++++++++++++++------------
 cache.h |  5 ++---
 ubus.c  | 20 ++++++++++++--------
 3 files changed, 32 insertions(+), 23 deletions(-)

-- 
2.11.0




More information about the Lede-dev mailing list