From fc3547880aafad726509f0514df2d5e0bb140728 Mon Sep 17 00:00:00 2001 From: Alexander Zubkov Date: Thu, 24 Aug 2023 04:30:42 +0200 Subject: Filter: Add bytestring type - Rename BYTESTRING lexem to BYTETEXT, not to collide with 'bytestring' type name - Add bytestring type with id T_BYTESTRING (0x2c) - Add from_hex() filter function to create bytestring from hex string - Add filter test cases for bytestring type Minor changes by committer. --- nest/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/config.Y b/nest/config.Y index c83c715b..9197f985 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -548,7 +548,7 @@ pass_key: PASSWORD | KEY; password_item_begin: pass_key text { init_password_list(); init_password($2, strlen($2), password_id++); } - | pass_key BYTESTRING { init_password_list(); init_password($2->data, $2->length, password_id++); } + | pass_key BYTETEXT { init_password_list(); init_password($2->data, $2->length, password_id++); } ; password_item_params: -- cgit v1.2.3