[BUGFIX] Command-line option `-6` now works correctly.

This commit is contained in:
Dmitri Tikhonov 2018-05-18 10:39:21 -04:00
parent 7a9b83ff9d
commit 63a83dd17a
2 changed files with 2 additions and 3 deletions

View File

@ -2,6 +2,7 @@
- Improve checks of number of incoming streams limit and associated
error reporting.
- [BUGFIX] Command-line option `-6` now works correctly.
2018-05-16

View File

@ -460,10 +460,8 @@ main (int argc, char **argv)
{
switch (opt) {
case '4':
prog.prog_ipver = 4;
break;
case '6':
prog.prog_ipver = 4;
prog.prog_ipver = opt - '0';
break;
case 'I':
client_ctx.hcc_flags |= HCC_ABORT_ON_INCOMPLETE;