Don't cache hosts as services
authorRafał Miłecki <rafal@milecki.pl>
Fri, 10 Mar 2017 07:59:23 +0000 (08:59 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 14 Mar 2017 10:45:44 +0000 (11:45 +0100)
commitfd5a160a15c48a97f7fc755c1310f17c869f0233
tree27f6cdf172ba9a5de2060fb9c6d76fc6f22266f1
parent80dd246024800b3f33bacc6cf01184da6f57dfa4
Don't cache hosts as services

This was kind of abuse of struct cache_service and the tree storing all
cached entries. Host isn't really a service, treating it so required
extra checks whenever dealing with cached entries.

Now we converted all code to read DNS records A and AAAA directly we
don't need to store these faked services.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
cache.c
cache.h
ubus.c