mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 01:10:05 -04:00
cleanup of previous change; no functional change
This commit is contained in:
parent
5926a0a45e
commit
bf45b1b5d6
1 changed files with 5 additions and 2 deletions
|
|
@ -143,11 +143,12 @@ main(int argc, char *argv[]) {
|
|||
|
||||
{
|
||||
unsigned int attrs;
|
||||
isc_sockaddr_t any4, any6;
|
||||
dns_dispatch_t *disp4 = NULL;
|
||||
dns_dispatch_t *disp6 = NULL;
|
||||
dns_dispatch_t *disp6 = NULL;
|
||||
|
||||
if (isc_net_probeipv4() == ISC_R_SUCCESS) {
|
||||
isc_sockaddr_t any4;
|
||||
|
||||
isc_sockaddr_any(&any4);
|
||||
|
||||
attrs = DNS_DISPATCHATTR_IPV4 | DNS_DISPATCHATTR_UDP;
|
||||
|
|
@ -162,6 +163,8 @@ main(int argc, char *argv[]) {
|
|||
}
|
||||
|
||||
if (isc_net_probeipv6() == ISC_R_SUCCESS) {
|
||||
isc_sockaddr_t any6;
|
||||
|
||||
isc_sockaddr_any6(&any6);
|
||||
|
||||
attrs = DNS_DISPATCHATTR_IPV6 | DNS_DISPATCHATTR_UDP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue