summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-03 16:56:00 +0000
committerMartin Mares <mj@ucw.cz>2000-06-03 16:56:00 +0000
commitc0b2f6463fd7464ce6fe4d9dc67f37e61bface11 (patch)
treee779f515bde34e013a22246f3aecb0f15220c42c
parent3d675cdbe7287d3024d041ce4e28dacf7ca527cc (diff)
cf_symbol_class_name now recognizes SYM_IPA.
-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 a30ddfbd..27ea86eb 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 b8bfd947..24e3217d 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