mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-14 14:42:22 -04:00
DIG: fix handling of +http-plain-{get, post} options
Support for parsing +http-plain-get and +http-plain-post options was broken. This commit fixes that. (cherry picked from commit fb135867644684a21d79bc3a5cebe3c83217a221)
This commit is contained in:
parent
b76c2ad366
commit
bd033f92fd
1 changed files with 3 additions and 3 deletions
|
|
@ -1558,12 +1558,12 @@ plus_option(char *option, bool is_batchfile, bool *need_clone,
|
|||
FULLCHECK("http-plain");
|
||||
break;
|
||||
case '-':
|
||||
switch (cmd[6]) {
|
||||
switch (cmd[11]) {
|
||||
case 'p':
|
||||
FULLCHECK("https-plain-post");
|
||||
FULLCHECK("http-plain-post");
|
||||
break;
|
||||
case 'g':
|
||||
FULLCHECK("https-plain-get");
|
||||
FULLCHECK("http-plain-get");
|
||||
lookup->https_get = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue