projects
/
project
/
mdnsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix/change comment format about port 5353
[project/mdnsd.git]
/
cache.c
diff --git
a/cache.c
b/cache.c
index
07d4f20
..
fa32465
100644
(file)
--- a/
cache.c
+++ b/
cache.c
@@
-89,7
+89,7
@@
cache_gc_timer(struct uloop_timeout *timeout)
continue;
}
s->refresh += 50;
continue;
}
s->refresh += 50;
- dns_send_question(s->iface, s->entry, TYPE_PTR,
1
);
+ dns_send_question(s->iface, s->entry, TYPE_PTR,
0
);
}
uloop_timeout_set(timeout, 10000);
}
uloop_timeout_set(timeout, 10000);
@@
-128,7
+128,7
@@
cache_scan(void)
vlist_for_each_element(&interfaces, iface, node)
avl_for_each_element(&services, s, avl)
vlist_for_each_element(&interfaces, iface, node)
avl_for_each_element(&services, s, avl)
- dns_send_question(iface, s->entry, TYPE_PTR,
1
);
+ dns_send_question(iface, s->entry, TYPE_PTR,
0
);
}
static struct cache_service*
}
static struct cache_service*
@@
-167,7
+167,7
@@
cache_service(struct interface *iface, char *entry, int hlen, int ttl)
avl_insert(&services, &s->avl);
if (!hlen)
avl_insert(&services, &s->avl);
if (!hlen)
- dns_send_question(iface, entry, TYPE_PTR,
!
iface->multicast);
+ dns_send_question(iface, entry, TYPE_PTR, iface->multicast);
return s;
}
return s;
}