mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
isc_net_haveipvN to isc_net_probeipvN
This commit is contained in:
@@ -270,7 +270,7 @@ main(int argc, char *argv[])
|
||||
workers = 2;
|
||||
printf("%d workers\n", workers);
|
||||
|
||||
if (isc_net_haveipv6() == ISC_R_SUCCESS)
|
||||
if (isc_net_probeipv6() == ISC_R_SUCCESS)
|
||||
pf = PF_INET6;
|
||||
else
|
||||
pf = PF_INET;
|
||||
|
@@ -120,7 +120,7 @@
|
||||
***/
|
||||
|
||||
isc_result_t
|
||||
isc_net_haveipv4(void);
|
||||
isc_net_probeipv4(void);
|
||||
/*
|
||||
* Check if the system's kernel supports IPv4.
|
||||
*
|
||||
@@ -132,7 +132,7 @@ isc_net_haveipv4(void);
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
isc_net_haveipv6(void);
|
||||
isc_net_probeipv6(void);
|
||||
/*
|
||||
* Check if the system's kernel supports IPv6.
|
||||
*
|
||||
|
@@ -70,7 +70,7 @@ initialize(void) {
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
isc_net_haveipv4(void) {
|
||||
isc_net_probeipv4(void) {
|
||||
|
||||
/*
|
||||
* Check if the system's kernel supports IPv4.
|
||||
@@ -81,7 +81,7 @@ isc_net_haveipv4(void) {
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
isc_net_haveipv6(void) {
|
||||
isc_net_probeipv6(void) {
|
||||
|
||||
/*
|
||||
* Check if the system's kernel supports IPv6.
|
||||
|
Reference in New Issue
Block a user