2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

[master] include ECS in query logging

4566.	[func]		Query logging now includes the ECS option if one
			was included in the query. [RT #44476]
This commit is contained in:
Evan Hunt
2017-02-02 11:54:28 -08:00
parent 7769c92946
commit aace5d0fb3
20 changed files with 225 additions and 44 deletions

View File

@@ -363,6 +363,12 @@ isc_netaddr_any6(isc_netaddr_t *netaddr) {
netaddr->type.in6 = in6addr_any;
}
void
isc_netaddr_unspec(isc_netaddr_t *netaddr) {
memset(netaddr, 0, sizeof(*netaddr));
netaddr->family = AF_UNSPEC;
}
isc_boolean_t
isc_netaddr_ismulticast(const isc_netaddr_t *na) {
switch (na->family) {