summaryrefslogtreecommitdiff
path: root/bird-gdb.py
diff options
context:
space:
mode:
authorAlexander Zubkov <green@qrator.net>2023-08-24 04:30:42 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-08-24 04:33:33 +0200
commitfc3547880aafad726509f0514df2d5e0bb140728 (patch)
tree826c945354f71d509e298fdcb715f0624ccb6add /bird-gdb.py
parenteddc0ffdab239c61cc0e064b6ebd33dfadcef3cd (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 'bird-gdb.py')
-rw-r--r--bird-gdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bird-gdb.py b/bird-gdb.py
index 3cf65a9c..262035dc 100644
--- a/bird-gdb.py
+++ b/bird-gdb.py
@@ -34,6 +34,7 @@ class BIRDFValPrinter(BIRDPrinter):
"T_IP": "ip",
"T_NET": "net",
"T_STRING": "s",
+ "T_BYTESTRING": "bs",
"T_PATH_MASK": "path_mask",
"T_PATH": "ad",
"T_CLIST": "ad",