2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

[master] fix tag

This commit is contained in:
Evan Hunt
2017-09-08 18:22:12 -07:00
parent 24926303e4
commit bcb7c7fdad
2 changed files with 5 additions and 2 deletions

View File

@@ -892,11 +892,14 @@ plus_option(const char *option, isc_boolean_t is_batchfile,
break;
case 'n': /* dnssec */
FULLCHECK("dnssec");
dnssec:
if (state && lookup->edns == -1)
lookup->edns = 0;
lookup->dnssec = state;
break;
case 'o': /* domain */
case 'o': /* domain ... but treat "do" as synonym for dnssec */
if (cmd[2] == '\0')
goto dnssec;
FULLCHECK("domain");
if (value == NULL)
goto need_value;