From c28e6f44c454221784e86de49611dac18c9fbfc7 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Thu, 15 May 2014 16:11:32 +0200 Subject: [PATCH] rdata fields for MX --- ChangeLog | 3 +++ src/rr-dict.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 88bc809a..38dc7a2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* 2014-??-??: Version 0.1.2 + * Fixed rdata fields for MX + * 2014-03-24 : Version 0.1.1 * default to NOT build extensions (libev, libuv, libevent), handle --with/--without optiosn to configure for them diff --git a/src/rr-dict.c b/src/rr-dict.c index bfa74970..b475f9bb 100644 --- a/src/rr-dict.c +++ b/src/rr-dict.c @@ -89,7 +89,8 @@ static struct rdata_def hinfo_rdata[] = { static struct rdata_def minfo_rdata[] = { { "rmailbx" , t_bindata }}; static struct rdata_def mx_rdata[] = { - { "preference" , t_bindata }}; + { "preference" , t_int }, + { "exchange" , t_bindata }}; static struct rdata_def txt_rdata[] = { { "txt_strings" , t_list }}; static struct rdata_def rp_rdata[] = {