diff options
author | Federico Lucifredi <flucifredi@acm.org> | 2008-01-10 23:47:15 +0000 |
---|---|---|
committer | Federico Lucifredi <flucifredi@acm.org> | 2008-01-10 23:47:15 +0000 |
commit | 246258f778a5e74f2a0d54d971da424c71036e16 (patch) | |
tree | 68fddc69235bd3b13141dafab4f9c9e1a8cf3625 /avahi-core/wide-area.c | |
parent | 61741535cdc70c226a593d668c8765fe283dbaaf (diff) |
two more (less) cores.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1688 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/wide-area.c')
-rw-r--r-- | avahi-core/wide-area.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index 206a5a8..7e19519 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -884,6 +884,8 @@ void avahi_wide_area_publish(AvahiRecord *r, const char *zone, uint16_t id, int /* append TSIG record - note the RRset it goes into! */ avahi_dns_packet_append_record(p, tsig, 0, 30); /* NOTE: max TTL irrelevant, record comes with a 0 TTL */ + printf("---mark--- (E)\n"); + avahi_dns_packet_set_field(p, AVAHI_DNS_FIELD_ADCOUNT, 1); /*increment record count for ADCOUNT */ if (!p) { /*OOM check */ |