summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-25 14:33:15 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-25 14:33:15 +0200
commit72282e2a1b52552eadd61a86659119db8478427d (patch)
tree923ea68c31f7f94036d4cbdcaeaf40c2c9d62eb2 /filter
parent416e3ee4b07d9ed30ada45eee736d877efe139db (diff)
downloadbird-72282e2a1b52552eadd61a86659119db8478427d.tar
bird-72282e2a1b52552eadd61a86659119db8478427d.zip
Fixed comment not to be misleading.
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y
index accf318..0bbc325 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -378,7 +378,7 @@ term:
| rtadot FROM { $$ = f_new_inst(); $$->code = 'a'; $$->aux = T_IP; $$->a2.i = OFFSETOF(struct rta, from); }
| rtadot GW { $$ = f_new_inst(); $$->code = 'a'; $$->aux = T_IP; $$->a2.i = OFFSETOF(struct rta, gw); }
- | rtadot NET { $$ = f_new_inst(); $$->code = 'a'; $$->aux = T_PREFIX; $$->a2.i = 0x12345678; }
+ | rtadot NET { $$ = f_new_inst(); $$->code = 'a'; $$->aux = T_PREFIX; $$->a2.i = 0x12345678; /* This is actually ok - T_PREFIX is special-cased. */ }
| rtadot SOURCE { $$ = f_new_inst(); $$->code = 'a'; $$->aux = T_ENUM_RTS; $$->a2.i = OFFSETOF(struct rta, source); }
| rtadot dynamic_attr { $$ = $2; $$->code = P('e','a'); }