diff options
| author | Adam Tkac <atkac@fedoraproject.org> | 2008-07-31 14:40:05 +0000 |
|---|---|---|
| committer | Adam Tkac <atkac@fedoraproject.org> | 2008-07-31 14:40:05 +0000 |
| commit | c73a48ceb05bec2e512f566be7fef7025a27aa30 (patch) | |
| tree | b5e31ae2661e7fc5adb84024611b9102e8c8fcde /bind95-rh457175.patch | |
| parent | 53ae61452e4cd0f0051396b0b0e442b5af8a9cda (diff) | |
- IP acls weren't merged correctly (#457175)
Diffstat (limited to 'bind95-rh457175.patch')
| -rw-r--r-- | bind95-rh457175.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bind95-rh457175.patch b/bind95-rh457175.patch new file mode 100644 index 0000000..2ecd01e --- /dev/null +++ b/bind95-rh457175.patch @@ -0,0 +1,25 @@ +diff -up bind-9.5.0-P1/lib/dns/iptable.c.rh457175 bind-9.5.0-P1/lib/dns/iptable.c +--- bind-9.5.0-P1/lib/dns/iptable.c.rh457175 2008-01-21 22:02:24.000000000 +0100 ++++ bind-9.5.0-P1/lib/dns/iptable.c 2008-07-31 16:10:46.000000000 +0200 +@@ -117,16 +117,17 @@ dns_iptable_merge(dns_iptable_t *tab, dn + if (node->data[0] && + *(isc_boolean_t *) node->data[0] == ISC_TRUE) + new_node->data[0] = &dns_iptable_neg; +- else +- new_node->data[0] = node->data[0]; + + if (node->data[1] && + *(isc_boolean_t *) node->data[1] == ISC_TRUE) + new_node->data[1] = &dns_iptable_neg; +- else +- new_node->data[1] = node->data[0]; + } + ++ if (new_node->data[0] == NULL) ++ new_node->data[0] = node->data[0]; ++ if (new_node->data[1] == NULL) ++ new_node->data[1] = node->data[1]; ++ + if (node->node_num[0] > max_node) + max_node = node->node_num[0]; + if (node->node_num[1] > max_node) |
