Commit f9ed68cc authored by Mark Andrews's avatar Mark Andrews
Browse files

permit hexadecimal and octal dscp values

parent a13fdd31
...@@ -1864,7 +1864,7 @@ isc_result_t ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment