interface-file: map 'mode' to tunnel-mode

This commit is contained in:
Ariadne Conill 2020-08-19 03:12:43 -06:00
parent a4f147b5d0
commit c24143982f

View file

@ -28,6 +28,7 @@ struct remap_token {
static const struct remap_token tokens[] = {
{"endpoint", "tunnel-remote"}, /* legacy ifupdown */
{"local", "tunnel-local"}, /* legacy ifupdown */
{"mode", "tunnel-mode"}, /* legacy ifupdown */
{"provider", "ppp-provider"}, /* legacy ifupdown, ifupdown2 */
{"tunnel-endpoint", "tunnel-remote"}, /* ifupdown2 */
{"tunnel-physdev", "tunnel-dev"}, /* ifupdown2 */