mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 07:42:07 -04:00
1035. [bug] Respond to multicast queries from a unicast address,
RFC 1123. [RT #137]
This commit is contained in:
parent
2e24e82fc3
commit
5f7516bee5
2 changed files with 6 additions and 2 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1035. [bug] Respond to multicast queries from a unicast address,
|
||||
RFC 1123. [RT #137]
|
||||
|
||||
1034. [bug] Multicast queries must not have RD set, RFC 1123.
|
||||
FORMERR those that do. [RT #137]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: client.c,v 1.181 2001/10/09 02:30:20 marka Exp $ */
|
||||
/* $Id: client.c,v 1.182 2001/10/09 02:39:03 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -734,7 +734,8 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
|
|||
sockflags |= ISC_SOCKFLAG_NORETRY;
|
||||
}
|
||||
|
||||
if ((client->attributes & NS_CLIENTATTR_PKTINFO) != 0)
|
||||
if ((client->attributes & NS_CLIENTATTR_PKTINFO) != 0 &&
|
||||
(client->attributes |= NS_CLIENTATTR_MULTICAST) == 0)
|
||||
pktinfo = &client->pktinfo;
|
||||
else
|
||||
pktinfo = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue