summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/cf-lex.l2
-rw-r--r--conf/conf.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index a30ddfb..27ea86e 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -349,6 +349,8 @@ cf_symbol_class_name(struct symbol *sym)
return "filter";
case SYM_TABLE:
return "routing table";
+ case SYM_IPA:
+ return "network address";
default:
return "unknown type";
}
diff --git a/conf/conf.h b/conf/conf.h
index b8bfd94..24e3217 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -81,6 +81,7 @@ struct symbol {
char name[1];
};
+/* Remember to update cf_symbol_class_name() */
#define SYM_VOID 0
#define SYM_PROTO 1
#define SYM_NUMBER 2