summaryrefslogtreecommitdiff
path: root/plugin/dnsnotify.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-09 20:28:20 +0000
committerStef Walter <stef@memberwebs.com>2008-06-09 20:28:20 +0000
commit6d7133186a0415b60019eaa7dc32c3ec5bd3e201 (patch)
treecd5d365460cc8fee07d94581bdf8fe213cf9bb89 /plugin/dnsnotify.c
parent3f65ea3cb042826f7343d80a2a1c048fba16edfa (diff)
Use case insensitive matches for attribute names
Diffstat (limited to 'plugin/dnsnotify.c')
-rw-r--r--plugin/dnsnotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/dnsnotify.c b/plugin/dnsnotify.c
index d610414..fd9d722 100644
--- a/plugin/dnsnotify.c
+++ b/plugin/dnsnotify.c
@@ -322,7 +322,7 @@ dnsnotify_post_modify (const char *dn, LDAPMod **mods)
for (m = mods; *m; ++m) {
mod = *m;
trace (mod->mod_type);
- if (strcmp (mod->mod_type, dnsnotify_soa_attribute) == 0) {
+ if (strcasecmp (mod->mod_type, dnsnotify_soa_attribute) == 0) {
if (load_soa_ns_attributes (dn, &soa, &ns)) {
notify_dns_slaves (soa, ns);
slapi_ch_array_free (ns);