<rdar://problem/7299177> DNS-SD sometimes delivers duplicate browse add events during...
authormparthasarathy@apple.com <mparthasarathy@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Tue, 20 Oct 2009 19:45:37 +0000 (19:45 +0000)
committermparthasarathy@apple.com <mparthasarathy@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Tue, 20 Oct 2009 19:45:37 +0000 (19:45 +0000)
commit6f363db276b07c3c9d9933ca45c0efe1a73f528f
treed2723eae18f980a8025705243cc75f56a86cde1b
parenteca5a88831573825be6a888222066894be8d3502
<rdar://problem/7299177> DNS-SD sometimes delivers duplicate browse add events during network transitions

mDNSInterfaceMark has the special interfaceID value -1 which conflicts with mDNSInterface_LocalOnly. There is also code (for NSEC) that uses 1 as special value for InterfaceID. This fix now keeps all the special InterfaceID values in one place to avoid future conflicts and NSEC related code now starts using mDNSInterfaceMark.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6749 214c2c4a-bf3b-4dcf-9390-e4dd3010487d
mDNSCore/DNSCommon.c
mDNSCore/mDNS.c
mDNSCore/mDNSEmbeddedAPI.h