cf_symbol_class_name now recognizes SYM_IPA.
This commit is contained in:
parent
3d675cdbe7
commit
c0b2f6463f
2 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue