On 10/03/17 08:59, Rafał Miłecki wrote:
From: Rafał Miłecki <ra...@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

Acked-by: John Crispin <j...@phrozen.org>

thanks, looks like a nice cleanup

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(-)



_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to