mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 12:40:00 -04:00
Fixed filter-aaaa prereq.sh and feature-test.c
This commit is contained in:
parent
fc6f778fd8
commit
e493ed7c45
2 changed files with 7 additions and 6 deletions
|
|
@ -70,7 +70,7 @@ main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
if (strcmp(argv[1], "--enable-filter-aaaa") == 0) {
|
||||
#ifdef ALLOW_FILTER_AAAA
|
||||
#ifdef ALLOW_FILTER_AAAA_ON_V4
|
||||
return (0);
|
||||
#else
|
||||
return (1);
|
||||
|
|
|
|||
|
|
@ -14,10 +14,11 @@
|
|||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
if $FEATURETEST --enable-filter-aaaa
|
||||
then
|
||||
:
|
||||
else
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
||||
$FEATURETEST --enable-filter-aaaa || {
|
||||
echo "I:This test requires --enable-filter-aaaa at compile time." >&2
|
||||
exit 255
|
||||
fi
|
||||
}
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue