permit hexadecimal and octal dscp values

This commit is contained in:
Mark Andrews 2013-05-17 21:01:02 +10:00
parent a13fdd31b7
commit f9ed68cc5d

View file

@ -1864,7 +1864,7 @@ isc_result_t
cfg_parse_dscp(cfg_parser_t *pctx, isc_dscp_t *dscp) {
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) {
cfg_parser_error(pctx, CFG_LOG_NEAR,