]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
permit hexadecimal and octal dscp values
authorMark Andrews <marka@isc.org>
Fri, 17 May 2013 11:01:02 +0000 (21:01 +1000)
committerMark Andrews <marka@isc.org>
Fri, 17 May 2013 11:01:02 +0000 (21:01 +1000)
lib/isccfg/parser.c

index 241f985f2717bbe336c740e30fa25efbcef12333..775d7c323cd8400cd8030740e355525f7b5a4ef4 100644 (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,