diff options
author | Alexander Zubkov <green@qrator.net> | 2023-08-24 04:30:42 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-08-24 04:33:33 +0200 |
commit | fc3547880aafad726509f0514df2d5e0bb140728 (patch) | |
tree | 826c945354f71d509e298fdcb715f0624ccb6add /conf/confbase.Y | |
parent | eddc0ffdab239c61cc0e064b6ebd33dfadcef3cd (diff) |
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.
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r-- | conf/confbase.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index 3dd5fed7..da750d38 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -106,7 +106,7 @@ CF_DECLS %token <i64> VPN_RD %token <s> CF_SYM_KNOWN CF_SYM_UNDEFINED %token <t> TEXT -%token <bs> BYTESTRING +%token <bs> BYTETEXT %type <iface> ipa_scope %type <i> expr bool pxlen4 |