mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
update copyright notice
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -785,7 +785,7 @@ process_answer(isc_task_t *task, isc_event_t *event) {
|
||||
case AF_INET:
|
||||
dns_rdataset_current(rdataset, &rdata);
|
||||
result = dns_rdata_tostruct(&rdata, &rdata_a,
|
||||
NULL);
|
||||
NULL);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
SIN(ai->ai_addr)->sin_port =
|
||||
resstate->head->ai_port;
|
||||
@@ -796,7 +796,7 @@ process_answer(isc_task_t *task, isc_event_t *event) {
|
||||
case AF_INET6:
|
||||
dns_rdataset_current(rdataset, &rdata);
|
||||
result = dns_rdata_tostruct(&rdata, &rdata_aaaa,
|
||||
NULL);
|
||||
NULL);
|
||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||
SIN6(ai->ai_addr)->sin6_port =
|
||||
resstate->head->ai_port;
|
||||
|
Reference in New Issue
Block a user