From: Mark Andrews Date: Fri, 17 May 2013 11:01:02 +0000 (+1000) Subject: permit hexadecimal and octal dscp values X-Git-Tag: v9.10.0a1~332 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f9ed68cc5d40cc0916e83bfeb7de7a3cdbd1ca0b;p=thirdparty%2Fbind9.git permit hexadecimal and octal dscp values --- diff --git a/lib/isccfg/parser.c b/lib/isccfg/parser.c index 241f985f271..775d7c323cd 100644 --- a/lib/isccfg/parser.c +++ b/lib/isccfg/parser.c @@ -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,