From c0b2f6463fd7464ce6fe4d9dc67f37e61bface11 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 3 Jun 2000 16:56:00 +0000 Subject: cf_symbol_class_name now recognizes SYM_IPA. --- conf/cf-lex.l | 2 ++ conf/conf.h | 1 + 2 files changed, 3 insertions(+) (limited to 'conf') 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 -- cgit v1.2.3