HomeVyOS Platform

vpn: ipsec: T3093: test for VTI interface availability the easy way

Description

vpn: ipsec: T3093: test for VTI interface availability the easy way

We do not need to query the actual configuration if the VTI peer is configured
or not. This can be done in a much more simples way by just checking if the
desired interface exists on the running system.

This is safe to do as the VTI priority is less then IPSec.

Details

Provenance
c-poAuthored on May 29 2021, 5:11 PM
Parents
rVYOSONEX2d3a2c56a33b: ipsec: vti: T2816: Update to use correct VTI mark, code cleanup
Branches
Loading...
Tags
Loading...