static executor: Use vrf-member when setting gateway if present.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
Maximilian Wilhelm 2020-08-26 22:29:59 +02:00
parent d21d83fb26
commit e52e94fe5e

View file

@ -4,6 +4,7 @@ set -e
[ -z "$IF_METRIC" ] && IF_METRIC="1"
[ -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"
addr_family() {