configure --enable-reserved-header-bits=N: fix range of accepted N
It ranges between 0 and 31, not 0 and 21.master
parent
86c8a98f3c
commit
53ed75072d
|
@ -3225,7 +3225,7 @@ if test "${enable_reserved_header_bits+set}" = set; then :
|
|||
0) :
|
||||
with_profinfo=false
|
||||
profinfo_width=0 ;; #(
|
||||
[1-9]|1[0-9]|2[0-1]) :
|
||||
[1-9]|[1-2][0-9]|3[0-1]) :
|
||||
with_profinfo=true
|
||||
profinfo_width="$enable_reserved_header_bits" ;; #(
|
||||
*) :
|
||||
|
|
|
@ -311,7 +311,7 @@ AC_ARG_ENABLE([reserved-header-bits],
|
|||
[0],
|
||||
[with_profinfo=false
|
||||
profinfo_width=0],
|
||||
[[[1-9]]|1[[0-9]]|2[[0-1]]],
|
||||
[[[1-9]]|[[1-2]][[0-9]]|3[[0-1]]],
|
||||
[with_profinfo=true
|
||||
profinfo_width="$enable_reserved_header_bits"],
|
||||
[AC_MSG_ERROR([invalid argument to --enable-reserved-header-bits])])])
|
||||
|
|
Loading…
Reference in New Issue