diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-03-02 17:56:24 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2012-03-02 10:27:41 +0100 |
commit | a35da7972e070a7d22db7d79bba70f07e14b4fcd (patch) | |
tree | 0b978d898ccde2c202a2d8b84da03dcc58e71977 /source4/rpc_server/dnsserver | |
parent | 89b413895b37004ce41c30a6fcbd76ab19a23d4b (diff) | |
download | samba-a35da7972e070a7d22db7d79bba70f07e14b4fcd.tar.gz samba-a35da7972e070a7d22db7d79bba70f07e14b4fcd.tar.bz2 samba-a35da7972e070a7d22db7d79bba70f07e14b4fcd.zip |
s4-rpc: dnsserver: Fix the typo in comparing two DNS records
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Mar 2 10:27:41 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/rpc_server/dnsserver')
-rw-r--r-- | source4/rpc_server/dnsserver/dnsdata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdata.c b/source4/rpc_server/dnsserver/dnsdata.c index c8ac58d8bd..3dc7dccf28 100644 --- a/source4/rpc_server/dnsserver/dnsdata.c +++ b/source4/rpc_server/dnsserver/dnsdata.c @@ -952,10 +952,10 @@ bool dns_record_match(struct dnsp_DnssrvRpcRecord *rec1, struct dnsp_DnssrvRpcRe return strcmp(rec1->data.ipv4, rec2->data.ipv4) == 0; case DNS_TYPE_NS: - return dns_name_equal(rec1->data.ns, rec1->data.ns); + return dns_name_equal(rec1->data.ns, rec2->data.ns); case DNS_TYPE_CNAME: - return dns_name_equal(rec1->data.cname, rec1->data.cname); + return dns_name_equal(rec1->data.cname, rec2->data.cname); case DNS_TYPE_SOA: return dns_name_equal(rec1->data.soa.mname, rec2->data.soa.mname) == 0 && |