0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

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";
case SYM_TABLE:
return "routing table";
case SYM_IPA:
return "network address";
default:
return "unknown type";
}

View File

@ -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