diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-11-05 22:03:21 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-11-05 22:03:21 +0100 |
commit | f2d8e6801e88a84b1e57da72d078d7569598a5f5 (patch) | |
tree | abf191000fb802dedd87b8b78abcc2f12c45d8b8 /filter/config.Y | |
parent | 69b2f63d9a477ab5d083773e16ca15ed2e570144 (diff) |
Filter: Make ifname attribute modifiable
Allow to change an interface associated with a route by setting
ifname attribute. It will also change the route to a direct one.
Diffstat (limited to 'filter/config.Y')
-rw-r--r-- | filter/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/config.Y b/filter/config.Y index 93ad8d8b..d865d11f 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -852,7 +852,7 @@ static_attr: | SOURCE { $$ = f_new_static_attr(T_ENUM_RTS, SA_SOURCE, 0); } | SCOPE { $$ = f_new_static_attr(T_ENUM_SCOPE, SA_SCOPE, 1); } | DEST { $$ = f_new_static_attr(T_ENUM_RTD, SA_DEST, 1); } - | IFNAME { $$ = f_new_static_attr(T_STRING, SA_IFNAME, 0); } + | IFNAME { $$ = f_new_static_attr(T_STRING, SA_IFNAME, 1); } | IFINDEX { $$ = f_new_static_attr(T_INT, SA_IFINDEX, 0); } ; |