Commit Graph

24 Commits

Author SHA1 Message Date
pettai
3b429a7601 Import mDNSResponder-320.16, merge, fix conflicts 2014-03-31 23:26:30 +00:00
pettai
e28a8d2c02 Import mDNSResponder-320.16, as previous import (258.14) is quite old 2014-03-31 23:21:21 +00:00
pettai
4754343be0 Fix lost merges 2014-03-28 07:01:49 +00:00
pettai
38e493d085 Import mDNSResponder-258.14, merge, fix conflicts 2014-03-24 00:31:13 +00:00
pettai
7f67feba92 Import mDNSResponder-258-14 as per discussion with gdt@ and cristos@ 2014-03-24 00:23:27 +00:00
roy
8085bf2f39 Don't try and use an address we can't use. 2014-01-18 16:51:44 +00:00
roy
2975c235a4 Fix setsockopt(2) error. 2013-11-14 08:26:54 +00:00
taca
c6e31784a4 Fix setsockopt(2) error on 64bit environment (amd64).
Reported by PR lib/46693 by me and OK'ed by dholland@.
2012-09-24 14:17:56 +00:00
joerg
90aa08ed31 Don't use array access to compute addresses that are definitely beyond
the static array boundaries.
2011-08-09 12:55:18 +00:00
joerg
cbfa018ce3 Add () that match operator order. 2011-06-07 20:04:32 +00:00
joerg
89c5df97d0 Fix another format string 2011-05-24 15:44:28 +00:00
joerg
43d31a906a Fix format string 2011-05-24 15:30:31 +00:00
joerg
320b4cf47a Make a gross hack nice enough to not trigger warnings with clang. 2011-05-23 22:39:25 +00:00
joerg
b8e7b32e9a clang is more restrict matching input and output constraints.
Input is long, but used are only the lower 32bit. The cast actually
saves a byte in the output.
2011-02-17 17:14:56 +00:00
jmcneill
02ad07d4f9 Fix mdnsd "ERROR failed to get errsd via SCM_RIGHTS" problem. mdnsd +
nsswitch.conf "multicast_dns" works for me now on amd64.
2011-02-12 17:21:38 +00:00
joerg
fe0427534e Kill use of __DATE__ and __TIME__ in SCCS strings. 2010-12-17 00:23:58 +00:00
tsarna
76bb45a787 Add interface list dump to debugging output. 2009-10-24 04:04:40 +00:00
tron
1ce7a503cf Fix off by one in parser for "/etc/resolv.conf" found by SSP. 2009-10-18 11:54:37 +00:00
tsarna
3c8b3fccbd Make signals match what OS X and the manpage say. Implement toggles for
debug and packet trace logging.

Make this conditional on HAVE_SIGINFO. Presumably lack of SIGINFO as a
standard posix feature is why they went with different signals here in
the first place, but since we have it, let's use it.
2009-10-03 00:03:05 +00:00
christos
5cf5db250b if __packed exists, use it. I might revert this later when I fully implement
attribute for lint.
2009-10-02 21:05:10 +00:00
tsarna
a4329df0cc mdnsd enhancements and fixes:
- Enhance the built-in drop-privs support and use it instead of
  having the rc.conf do it. Avoids log error on startup.
  From OpenSolaris, with enhancements.
- Add dumping of the unicast server list to the DumpStateLog
  debugging output, a'la Mac OS X.
- Fix a locking botch that caused warnings in the log.
- Fix FILE leak. From OpenSolaris.
2009-10-01 16:36:20 +00:00
tsarna
7b256d8f31 Two minor tweaks:
- Build with MDNS_VERSIONSTR_NODTS a'la OpenSolaris, to exclude
  __DATE__/__TIME__, for repeatable builds.

- log under "mdnsd" instead of "mDNSResponder" to reduce confusion.
2009-10-01 00:22:03 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
tsarna
49d9bf9d6b Import Apple's mDNSResponder 212.1 per tech-net discussion 2009-09-29 22:14:03 +00:00