From b157361533412de2123787a412e6e463c0b2f13a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 1 Apr 2000 09:15:10 +0000 Subject: SOURCE should really refer to rta->source, not rta->gw. Please check that all rta attributes are available, I guess that at least rta->dest is missing. --- filter/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/config.Y b/filter/config.Y index 39085792..40034602 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -393,7 +393,7 @@ term: | 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 SOURCE { $$ = f_new_inst(); $$->code = 'a'; $$->aux = T_ENUM_RTS; $$->a2.i = OFFSETOF(struct rta, gw); } + | 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'); } -- cgit v1.2.3