1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Dynamic attributes are now declared in per-protocol grammar files instead

of filter/config.Y. Bird now compiles even if you disable RIP.

Removed RTA and IMPOSSIBLE tokens (unused).

Removed superfluous comment in filter.h.

I've tried to do my best, but Pavel, please check these changes.
This commit is contained in:
Martin Mares
2000-03-01 11:32:23 +00:00
parent 2ca3d9a8fc
commit db1326aa5e
4 changed files with 26 additions and 13 deletions

View File

@@ -32,6 +32,15 @@ f_new_inst(void)
return ret;
}
struct f_inst *
f_new_dynamic_attr(int code)
{
struct f_inst *f = f_new_inst();
f->aux = T_INT;
f->a2.i = code;
return f;
}
char *
filter_name(struct filter *filter)
{