summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorGuenter Kukkukk <kukks@samba.org>2013-04-14 19:39:02 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-04-14 22:43:07 +0200
commitf67ae788cf8a678af0e309c8527f2b25c98b557b (patch)
treebdf73e210fa977cb297bb2b34dfaa6291306b82c /source4/rpc_server
parent3434140c0959d9608f9a4636df2060d00ac9b518 (diff)
downloadsamba-f67ae788cf8a678af0e309c8527f2b25c98b557b.tar.gz
samba-f67ae788cf8a678af0e309c8527f2b25c98b557b.tar.bz2
samba-f67ae788cf8a678af0e309c8527f2b25c98b557b.zip
samba-tool - MX records cannot be deleted (part2)
I missed this one, also a wrong compare of 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 22:43:07 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dnsserver/dnsdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdata.c b/source4/rpc_server/dnsserver/dnsdata.c
index 09dba53aa0..f0584a9811 100644
--- a/source4/rpc_server/dnsserver/dnsdata.c
+++ b/source4/rpc_server/dnsserver/dnsdata.c
@@ -970,7 +970,7 @@ bool dns_record_match(struct dnsp_DnssrvRpcRecord *rec1, struct dnsp_DnssrvRpcRe
return dns_name_equal(rec1->data.ptr, rec2->data.ptr);
case DNS_TYPE_MX:
- return rec1->data.mx.wPriority == rec2->data.srv.wPriority &&
+ return rec1->data.mx.wPriority == rec2->data.mx.wPriority &&
dns_name_equal(rec1->data.mx.nameTarget, rec2->data.mx.nameTarget);
case DNS_TYPE_TXT: