diff options
author | Guenter Kukkukk <kukks@samba.org> | 2013-04-14 06:17:28 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-04-14 08:46:07 +0200 |
commit | 3434140c0959d9608f9a4636df2060d00ac9b518 (patch) | |
tree | 375f536ed83e113e73cfe269f4b16784ad4c10ba /source4/rpc_server | |
parent | 41333f92d0c78e44a524f2248f5ae641ad59abf3 (diff) | |
download | samba-3434140c0959d9608f9a4636df2060d00ac9b518.tar.gz samba-3434140c0959d9608f9a4636df2060d00ac9b518.tar.bz2 samba-3434140c0959d9608f9a4636df2060d00ac9b518.zip |
samba-tool - MX records cannot be deleted (error in called C-program)
Only matching UNION-members should be compared. MX vs. SRV record
Signed-off-by: Guenter Kukkukk <kukks@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Apr 14 08:46:07 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/dnsserver/dnsdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdata.c b/source4/rpc_server/dnsserver/dnsdata.c index 3dc7dccf28..09dba53aa0 100644 --- a/source4/rpc_server/dnsserver/dnsdata.c +++ b/source4/rpc_server/dnsserver/dnsdata.c @@ -971,7 +971,7 @@ bool dns_record_match(struct dnsp_DnssrvRpcRecord *rec1, struct dnsp_DnssrvRpcRe case DNS_TYPE_MX: return rec1->data.mx.wPriority == rec2->data.srv.wPriority && - dns_name_equal(rec1->data.mx.nameTarget, rec2->data.srv.nameTarget); + dns_name_equal(rec1->data.mx.nameTarget, rec2->data.mx.nameTarget); case DNS_TYPE_TXT: if (rec1->data.txt.count != rec2->data.txt.count) { |