[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

@@ -122,6 +122,12 @@ isc_netaddr_any6(isc_netaddr_t *netaddr);
* Return the IPv6 wildcard address.
*/
void
isc_netaddr_unspec(isc_netaddr_t *netaddr);
/*%<
* Initialize as AF_UNSPEC address.
*/
isc_boolean_t
isc_netaddr_ismulticast(const isc_netaddr_t *na);
/*%<

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) {

View File

@@ -483,6 +483,7 @@ isc_netaddr_masktoprefixlen
isc_netaddr_prefixok
isc_netaddr_setzone
isc_netaddr_totext
isc_netaddr_unspec
isc_netscope_pton
isc_ntpaths_get
isc_ntpaths_init