summaryrefslogtreecommitdiff
path: root/data/templates/wwan/ip-down.script.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/wwan/ip-down.script.tmpl')
-rw-r--r--data/templates/wwan/ip-down.script.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/wwan/ip-down.script.tmpl b/data/templates/wwan/ip-down.script.tmpl
index e9c518433..194f8d863 100644
--- a/data/templates/wwan/ip-down.script.tmpl
+++ b/data/templates/wwan/ip-down.script.tmpl
@@ -12,7 +12,7 @@ fi
VRF_NAME=""
if [ -d /sys/class/net/{{ intf }}/upper_* ]; then
# Determine upper (VRF) interface
- VRF=$(basename $(ls -d /sys/class/net/wlm0/upper_*))
+ VRF=$(basename $(ls -d /sys/class/net/{{ intf }}/upper_*))
# Remove upper_ prefix from result string
VRF=${VRF#"upper_"}
# Populate variable to run in VR context