summaryrefslogtreecommitdiff
path: root/usr.bin/dig/nslookup.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-09-15 11:47:43 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-09-15 11:47:43 +0000
commit3b3b6f309dc97e91527c5be2a0611ecfb4ab09a0 (patch)
treede7055e83d625bfb729dc8470523e4946602c4ca /usr.bin/dig/nslookup.c
parent47547dc66f7274ffcc3d179a96c436d3c28a7fc3 (diff)
We have sockaddr_storage these days, get rid of isc_sockaddr_t.
OK beck, "beautiful" deraadt
Diffstat (limited to 'usr.bin/dig/nslookup.c')
-rw-r--r--usr.bin/dig/nslookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dig/nslookup.c b/usr.bin/dig/nslookup.c
index b4b6943dcf2..131be105f43 100644
--- a/usr.bin/dig/nslookup.c
+++ b/usr.bin/dig/nslookup.c
@@ -369,7 +369,7 @@ detailsection(dig_query_t *query, dns_message_t *msg, int headers,
}
static void
-received(unsigned int bytes, isc_sockaddr_t *from, dig_query_t *query)
+received(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query)
{
UNUSED(bytes);
UNUSED(from);
@@ -442,7 +442,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, int headers) {
static void
show_settings(int full, int serv_only) {
dig_server_t *srv;
- isc_sockaddr_t sockaddr;
+ struct sockaddr_storage sockaddr;
dig_searchlist_t *listent;
isc_result_t result;