mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 00:25:29 +00:00
permit hexadecimal and octal dscp values
This commit is contained in:
@@ -1864,7 +1864,7 @@ isc_result_t
|
|||||||
cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp) {
|
cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
|
||||||
CHECK(cfg_gettoken(pctx, ISC_LEXOPT_NUMBER));
|
CHECK(cfg_gettoken(pctx, ISC_LEXOPT_NUMBER | ISC_LEXOPT_CNUMBER));
|
||||||
|
|
||||||
if (pctx->token.type != isc_tokentype_number) {
|
if (pctx->token.type != isc_tokentype_number) {
|
||||||
cfg_parser_error(pctx, CFG_LOG_NEAR,
|
cfg_parser_error(pctx, CFG_LOG_NEAR,
|
||||||
|
Reference in New Issue
Block a user