mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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
This commit is contained in:
parent
41333f92d0
commit
3434140c09
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user