Blame bind95-rh457175.patch
|
Adam Tkac |
10534b |
diff -up bind-9.5.0-P1/lib/dns/iptable.c.rh457175 bind-9.5.0-P1/lib/dns/iptable.c
|
|
Adam Tkac |
10534b |
--- bind-9.5.0-P1/lib/dns/iptable.c.rh457175 2008-01-21 22:02:24.000000000 +0100
|
|
Adam Tkac |
10534b |
+++ bind-9.5.0-P1/lib/dns/iptable.c 2008-07-31 16:10:46.000000000 +0200
|
|
Adam Tkac |
10534b |
@@ -117,16 +117,17 @@ dns_iptable_merge(dns_iptable_t *tab, dn
|
|
Adam Tkac |
10534b |
if (node->data[0] &&
|
|
Adam Tkac |
10534b |
*(isc_boolean_t *) node->data[0] == ISC_TRUE)
|
|
Adam Tkac |
10534b |
new_node->data[0] = &dns_iptable_neg;
|
|
Adam Tkac |
10534b |
- else
|
|
Adam Tkac |
10534b |
- new_node->data[0] = node->data[0];
|
|
Adam Tkac |
10534b |
|
|
Adam Tkac |
10534b |
if (node->data[1] &&
|
|
Adam Tkac |
10534b |
*(isc_boolean_t *) node->data[1] == ISC_TRUE)
|
|
Adam Tkac |
10534b |
new_node->data[1] = &dns_iptable_neg;
|
|
Adam Tkac |
10534b |
- else
|
|
Adam Tkac |
10534b |
- new_node->data[1] = node->data[0];
|
|
Adam Tkac |
10534b |
}
|
|
Adam Tkac |
10534b |
|
|
Adam Tkac |
10534b |
+ if (new_node->data[0] == NULL)
|
|
Adam Tkac |
10534b |
+ new_node->data[0] = node->data[0];
|
|
Adam Tkac |
10534b |
+ if (new_node->data[1] == NULL)
|
|
Adam Tkac |
10534b |
+ new_node->data[1] = node->data[1];
|
|
Adam Tkac |
10534b |
+
|
|
Adam Tkac |
10534b |
if (node->node_num[0] > max_node)
|
|
Adam Tkac |
10534b |
max_node = node->node_num[0];
|
|
Adam Tkac |
10534b |
if (node->node_num[1] > max_node)
|