diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-01 11:32:23 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-01 11:32:23 +0000 |
commit | db1326aa5e39711d88d305ac08a0afa137ab77f0 (patch) | |
tree | e7b9ebe24bd923bde8c2d177aec2131cf8ebf90c /proto | |
parent | 2ca3d9a8fc25be6f7d41d8a6ff50a70612c11c93 (diff) |
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.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/rip/config.Y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y index 1bc67207..e1094a50 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -25,7 +25,8 @@ CF_DECLS CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS, MODE, BROADCAST, QUIET, NOLISTEN, VERSION1, AUTHENTICATION, NONE, PLAINTEXT, MD5, - HONOUR, NEVER, NEIGHBOUR, ALWAYS) + HONOUR, NEVER, NEIGHBOUR, ALWAYS, + RIP_METRIC, RIP_TAG) %type <i> rip_mode rip_auth @@ -97,6 +98,9 @@ rip_iface_list: | rip_iface_list ',' rip_iface ; +CF_ADDTO(dynamic_attr, RIP_METRIC { $$ = f_new_dynamic_attr(EA_RIP_METRIC); }) +CF_ADDTO(dynamic_attr, RIP_TAG { $$ = f_new_dynamic_attr(EA_RIP_TAG); }) + CF_CODE CF_END |