]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] silence RRL warnings
authorEvan Hunt <each@isc.org>
Tue, 26 Feb 2013 08:03:49 +0000 (00:03 -0800)
committerEvan Hunt <each@isc.org>
Tue, 26 Feb 2013 08:03:49 +0000 (00:03 -0800)
lib/dns/rrl.c

index 5185a39b8adc49f8ba31cda53f7888120cc0278c..ac80a7346e1b258e8ca73f4ca519378195cf300e 100644 (file)
@@ -664,6 +664,9 @@ debit_rrl_entry(dns_rrl_t *rrl, dns_rrl_entry_t *e, double qps, double scale,
                                case DNS_RRL_RTYPE_ALL:
                                        rate_str = "all-per-second";
                                        break;
+                               case DNS_RRL_RTYPE_FREE:
+                               case DNS_RRL_RTYPE_TCP:
+                                       INSIST(0);
                                }
                                isc_log_write(dns_lctx, DNS_LOGCATEGORY_RRL,
                                              DNS_LOGMODULE_REQUEST,