Commit 4bf3395d authored by Bob Halley's avatar Bob Halley
Browse files

allow DNS_DBFIND_NOWILD to be toggled

parent ba2a3950
...@@ -609,6 +609,15 @@ main(int argc, char *argv[]) { ...@@ -609,6 +609,15 @@ main(int argc, char *argv[]) {
((options & DNS_DBFIND_VALIDATEGLUE) != 0) ? ((options & DNS_DBFIND_VALIDATEGLUE) != 0) ?
"TRUE" : "FALSE"); "TRUE" : "FALSE");
continue; continue;
} else if (strcmp(s, "!WC") == 0) {
if ((options & DNS_DBFIND_NOWILD) != 0)
options &= ~DNS_DBFIND_NOWILD;
else
options |= DNS_DBFIND_NOWILD;
printf("wildcard matching = %s\n",
((options & DNS_DBFIND_NOWILD) == 0) ?
"TRUE" : "FALSE");
continue;
} else if (strcmp(s, "!LS") == 0) { } else if (strcmp(s, "!LS") == 0) {
DBI_CHECK(dbi); DBI_CHECK(dbi);
list(dbi); list(dbi);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment