Merge pull request #48 from BarbarossaTM/vrf-fix
static executor: Use vrf-member when setting gateway if present.
This commit is contained in:
commit
583ff684df
1 changed files with 1 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue