Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
4aa885a5
Commit
4aa885a5
authored
Nov 25, 1999
by
Pavel Machek
Browse files
Filters: fix rta access to use ->aux field.
parent
7e61cac3
Changes
2
Hide whitespace changes
Inline
Side-by-side
filter/config.Y
View file @
4aa885a5
...
...
@@ -276,11 +276,11 @@ term:
}
}
| RTA '.' FROM { $$ = f_new_inst(); $$->code = 'a'; $$->a
1.i
= T_IP; $$->a2.i = OFFSETOF(struct rta, from); }
| RTA '.' FROM { $$ = f_new_inst(); $$->code = 'a'; $$->a
ux
= T_IP; $$->a2.i = OFFSETOF(struct rta, from); }
| RTA '.' GW { $$ = f_new_inst(); $$->code = 'a'; $$->a
1.i
= T_IP; $$->a2.i = OFFSETOF(struct rta, gw); }
| RTA '.' NET { $$ = f_new_inst(); $$->code = 'a'; $$->a
1.i
= T_PREFIX; $$->a2.i = 0x12345678; }
| RTA '.' SOURCE { $$ = f_new_inst(); $$->code = 'a'; $$->a
1.i
= T_ENUM_RTS; $$->a2.i = OFFSETOF(struct rta, gw); }
| RTA '.' GW { $$ = f_new_inst(); $$->code = 'a'; $$->a
ux
= T_IP; $$->a2.i = OFFSETOF(struct rta, gw); }
| RTA '.' NET { $$ = f_new_inst(); $$->code = 'a'; $$->a
ux
= T_PREFIX; $$->a2.i = 0x12345678; }
| RTA '.' SOURCE { $$ = f_new_inst(); $$->code = 'a'; $$->a
ux
= T_ENUM_RTS; $$->a2.i = OFFSETOF(struct rta, gw); }
| RTA '.' any_dynamic { $$ = $3; $$->code = 'ea'; }
...
...
filter/filter.c
View file @
4aa885a5
...
...
@@ -313,7 +313,7 @@ interpret(struct f_inst *what)
break
;
}
default:
bug
(
"Invalid type for rta access"
);
bug
(
"Invalid type for rta access
(%x)
\n
"
);
}
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment