cf_symbol_class_name now recognizes SYM_IPA.

This commit is contained in:
Martin Mares 2000-06-03 16:56:00 +00:00
parent 3d675cdbe7
commit c0b2f6463f
2 changed files with 3 additions and 0 deletions

View file

@ -349,6 +349,8 @@ cf_symbol_class_name(struct symbol *sym)
return "filter"; return "filter";
case SYM_TABLE: case SYM_TABLE:
return "routing table"; return "routing table";
case SYM_IPA:
return "network address";
default: default:
return "unknown type"; return "unknown type";
} }

View file

@ -81,6 +81,7 @@ struct symbol {
char name[1]; char name[1];
}; };
/* Remember to update cf_symbol_class_name() */
#define SYM_VOID 0 #define SYM_VOID 0
#define SYM_PROTO 1 #define SYM_PROTO 1
#define SYM_NUMBER 2 #define SYM_NUMBER 2