mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +00:00
Enable the deletion test.
This commit is contained in:
@@ -131,7 +131,6 @@ main (int argc, char **argv) {
|
|||||||
} else
|
} else
|
||||||
printf("usage: add NAME\n");
|
printf("usage: add NAME\n");
|
||||||
|
|
||||||
#if 0
|
|
||||||
} else if (CMDCHECK("delete")) {
|
} else if (CMDCHECK("delete")) {
|
||||||
if (arg != NULL && *arg != '\0') {
|
if (arg != NULL && *arg != '\0') {
|
||||||
name = create_name(arg);
|
name = create_name(arg);
|
||||||
@@ -146,7 +145,6 @@ main (int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
printf("usage: delete NAME\n");
|
printf("usage: delete NAME\n");
|
||||||
#endif
|
|
||||||
|
|
||||||
} else if (CMDCHECK("search")) {
|
} else if (CMDCHECK("search")) {
|
||||||
if (arg != NULL && *arg != '\0') {
|
if (arg != NULL && *arg != '\0') {
|
||||||
@@ -155,7 +153,7 @@ main (int argc, char **argv) {
|
|||||||
printf("searching for "
|
printf("searching for "
|
||||||
"name %s ... ", arg);
|
"name %s ... ", arg);
|
||||||
node = dns_rbt_findnode
|
node = dns_rbt_findnode
|
||||||
(rbt, name, NULL);
|
(rbt, name);
|
||||||
if (node != NULL)
|
if (node != NULL)
|
||||||
printf("found it.\n");
|
printf("found it.\n");
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user