aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_data.c')
-rw-r--r--resolv/res_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c
index a365698e82..968f820d5f 100644
--- a/resolv/res_data.c
+++ b/resolv/res_data.c
@@ -205,7 +205,7 @@ res_send_setrhook(res_send_rhook hook) {
int
res_isourserver(const struct sockaddr_in *inp) {
- return (res_ourserver_p(&_res, inp));
+ return (res_ourserver_p((const struct sockaddr_in6 *) &_res, inp));
}
int