summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMaria Jan Matejka <mq@jmq.cz>2017-10-19 12:39:44 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-03-13 16:29:33 +0100
commit5a14df395053f4094a1e3ebea98e3487cbfc0e63 (patch)
tree08c1fb75e34628239034a3f2a59fc1bc3006c765 /conf
parent2d6d4b80539be13aa53c6751fb33689b263e4010 (diff)
Filter: Instruction codes named as enum
The two-letter instructions were quite messy but they could be easily read from memory dumps. Now GDB (since 2012) supports pretty printing enum values and GCC checks the switch construction for missing enum values so we are converting the nice two-byte values to enums. Anyway, the enum still keeps the old two-byte values to be able to read the instruction codes even without GDB from plain memory dump.
Diffstat (limited to 'conf')
-rw-r--r--conf/confbase.Y2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 9c08a41a..b8deed54 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -43,6 +43,8 @@ CF_DECLS
char *t;
struct rtable_config *r;
struct f_inst *x;
+ struct f_dynamic_attr fda;
+ struct f_static_attr fsa;
struct filter *f;
struct f_tree *e;
struct f_trie *trie;