interface-file: remap legacy ifupdown & ifupdown2 tunnel parameters
This commit is contained in:
parent
ac56a85074
commit
9cc74b58c4
2 changed files with 36 additions and 1 deletions
|
|
@ -24,9 +24,14 @@ struct remap_token {
|
|||
const char *alternative;
|
||||
};
|
||||
|
||||
/* this list must be in alphabetical order for bsearch */
|
||||
static const struct remap_token tokens[] = {
|
||||
{"endpoint", "tunnel-remote"}, /* legacy ifupdown */
|
||||
{"local", "tunnel-local"}, /* legacy ifupdown */
|
||||
{"provider", "ppp-provider"}, /* legacy ifupdown, ifupdown2 */
|
||||
{"vrf", "vrf-member"},
|
||||
{"tunnel-endpoint", "tunnel-remote"}, /* ifupdown2 */
|
||||
{"tunnel-physdev", "tunnel-dev"}, /* ifupdown2 */
|
||||
{"vrf", "vrf-member"}, /* ifupdown2 */
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue