summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.h3
-rw-r--r--conf/confbase.Y2
2 files changed, 3 insertions, 2 deletions
diff --git a/conf/conf.h b/conf/conf.h
index f14c0e21..d88d9a44 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -116,7 +116,8 @@ struct symbol {
const struct filter *filter; /* For SYM_FILTER */
struct rtable_config *table; /* For SYM_TABLE */
struct f_dynamic_attr *attribute; /* For SYM_ATTRIBUTE */
- struct f_val *val; /* For SYM_CONSTANT or SYM_VARIABLE */
+ struct f_val *val; /* For SYM_CONSTANT */
+ uint offset; /* For SYM_VARIABLE */
};
char name[0];
diff --git a/conf/confbase.Y b/conf/confbase.Y
index e104e54f..9978aec8 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -70,7 +70,7 @@ CF_DECLS
struct f_dynamic_attr fda;
struct f_static_attr fsa;
struct f_lval flv;
- const struct f_line *fl;
+ struct f_line *fl;
const struct filter *f;
struct f_tree *e;
struct f_trie *trie;