summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2019-06-14 20:53:34 +0200
committerTomek Mrugalski <tomasz@isc.org>2019-08-14 10:13:02 +0200
commit63a74b7a77b80a6a594e46d8fa71484dd5be57ba (patch)
treed94fbef1bfbd03f6cc51b9abb4673aa65ac84283 /src/lib
parent[150-add-sub-option-classification] Accept only integers for sub-option codes (diff)
downloadkea-63a74b7a77b80a6a594e46d8fa71484dd5be57ba.tar.xz
kea-63a74b7a77b80a6a594e46d8fa71484dd5be57ba.zip
[150-add-sub-option-classification] Declared sub_option_code
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eval/parser.yy1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eval/parser.yy b/src/lib/eval/parser.yy
index e4fef3709c..1b4c3cfc14 100644
--- a/src/lib/eval/parser.yy
+++ b/src/lib/eval/parser.yy
@@ -95,6 +95,7 @@ using namespace isc::eval;
%token <std::string> IP_ADDRESS "ip address"
%type <uint16_t> option_code
+%type <uint16_t> sub_option_code
%type <uint32_t> enterprise_id
%type <uint32_t> integer_expr
%type <TokenOption::RepresentationType> option_repr_type