From e52e94fe5e9a476d14e918bf0fc5140a9fd72f1e Mon Sep 17 00:00:00 2001 From: Maximilian Wilhelm Date: Wed, 26 Aug 2020 22:29:59 +0200 Subject: [PATCH] static executor: Use vrf-member when setting gateway if present. Signed-off-by: Maximilian Wilhelm --- executor-scripts/linux/static | 1 + 1 file changed, 1 insertion(+) diff --git a/executor-scripts/linux/static b/executor-scripts/linux/static index 04d3ae6..aa99533 100755 --- a/executor-scripts/linux/static +++ b/executor-scripts/linux/static @@ -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() {