]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix number of args to rpz_log_rewrite()
authorMukund Sivaraman <muks@isc.org>
Thu, 29 May 2014 13:07:54 +0000 (18:37 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 29 May 2014 13:07:54 +0000 (18:37 +0530)
bin/named/query.c

index 86785f6200c6fe89e813365dd47ed2497c6daeae..8444ca0af90b882b937c8f2dfab274a81908d72a 100644 (file)
@@ -6600,7 +6600,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                rpz_log_rewrite(client, ISC_FALSE,
                                                 rpz_st->m.policy,
                                                 rpz_st->m.type, zone,
-                                                rpz_st->p_name, NULL);
+                                                rpz_st->p_name);
                                goto cleanup;
                        case DNS_RPZ_POLICY_NODATA:
                                /*
@@ -6611,7 +6611,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                rpz_log_rewrite(client, ISC_FALSE,
                                                 rpz_st->m.policy,
                                                 rpz_st->m.type, zone,
-                                                rpz_st->p_name, NULL);
+                                                rpz_st->p_name);
                                goto cleanup;
                        case DNS_RPZ_POLICY_RECORD:
                                result = rpz_st->m.result;