2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 23:25:38 +00:00

isc_net_haveipvN to isc_net_probeipvN

This commit is contained in:
Bob Halley
1999-07-19 23:54:09 +00:00
parent 595cc914dd
commit 2f3cfa8c02
3 changed files with 5 additions and 5 deletions

View File

@@ -270,7 +270,7 @@ main(int argc, char *argv[])
workers = 2; workers = 2;
printf("%d workers\n", workers); printf("%d workers\n", workers);
if (isc_net_haveipv6() == ISC_R_SUCCESS) if (isc_net_probeipv6() == ISC_R_SUCCESS)
pf = PF_INET6; pf = PF_INET6;
else else
pf = PF_INET; pf = PF_INET;

View File

@@ -120,7 +120,7 @@
***/ ***/
isc_result_t isc_result_t
isc_net_haveipv4(void); isc_net_probeipv4(void);
/* /*
* Check if the system's kernel supports IPv4. * Check if the system's kernel supports IPv4.
* *
@@ -132,7 +132,7 @@ isc_net_haveipv4(void);
*/ */
isc_result_t isc_result_t
isc_net_haveipv6(void); isc_net_probeipv6(void);
/* /*
* Check if the system's kernel supports IPv6. * Check if the system's kernel supports IPv6.
* *

View File

@@ -70,7 +70,7 @@ initialize(void) {
} }
isc_result_t isc_result_t
isc_net_haveipv4(void) { isc_net_probeipv4(void) {
/* /*
* Check if the system's kernel supports IPv4. * Check if the system's kernel supports IPv4.
@@ -81,7 +81,7 @@ isc_net_haveipv4(void) {
} }
isc_result_t isc_result_t
isc_net_haveipv6(void) { isc_net_probeipv6(void) {
/* /*
* Check if the system's kernel supports IPv6. * Check if the system's kernel supports IPv6.