Merge pull request #48 from BarbarossaTM/vrf-fix

static executor: Use vrf-member when setting gateway if present.
This commit is contained in:
Ariadne Conill 2020-08-26 15:50:29 -06:00 committed by GitHub
commit 583ff684df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@ set -e
[ -z "$IF_METRIC" ] && IF_METRIC="1" [ -z "$IF_METRIC" ] && IF_METRIC="1"
[ -n "$IF_VRF_TABLE" ] && VRF_TABLE="table $IF_VRF_TABLE" [ -n "$IF_VRF_TABLE" ] && VRF_TABLE="table $IF_VRF_TABLE"
[ -n "$IF_VRF_MEMBER" ] && VRF_TABLE="vrf $IF_VRF_MEMBER"
[ -n "$IF_METRIC" ] && METRIC="metric $IF_METRIC" [ -n "$IF_METRIC" ] && METRIC="metric $IF_METRIC"
addr_family() { addr_family() {