summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-11-24 14:01:52 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-11-24 14:01:52 +0000
commitbbbaec087ecd4abc69d10d21d9b59a895e3aa7ee (patch)
treeeb02b2932c0c7fd5ddec119518ae80ab97533db8
parent9b10ff15ab3d534cff190b2b288e825cbb0be4af (diff)
fix after asr update
-rw-r--r--usr.sbin/smtpd/dns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/dns.c b/usr.sbin/smtpd/dns.c
index fc23ca4d43b..22ba723d048 100644
--- a/usr.sbin/smtpd/dns.c
+++ b/usr.sbin/smtpd/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.62 2012/11/23 10:55:25 eric Exp $ */
+/* $OpenBSD: dns.c,v 1.63 2012/11/24 14:01:51 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -231,7 +231,7 @@ dns_asr_dispatch_mx(struct dnssession *s)
{
struct dns *query = &s->query;
struct async_res ar;
- struct packed pack;
+ struct unpack pack;
struct header h;
struct query q;
struct rr rr;
@@ -251,7 +251,7 @@ dns_asr_dispatch_mx(struct dnssession *s)
return;
}
- packed_init(&pack, ar.ar_data, ar.ar_datalen);
+ unpack_init(&pack, ar.ar_data, ar.ar_datalen);
unpack_header(&pack, &h);
unpack_query(&pack, &q);