static executor: Use vrf-member when setting gateway if present.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
d21d83fb26
commit
e52e94fe5e
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