diff options
Diffstat (limited to 'net.Linux')
-rw-r--r-- | net.Linux/pppd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net.Linux/pppd.sh b/net.Linux/pppd.sh index d8448f81..bbb96cb4 100644 --- a/net.Linux/pppd.sh +++ b/net.Linux/pppd.sh @@ -89,7 +89,8 @@ pppd_pre_start() { fi if ! ${hasdefaultmetric} ; then - local m=\$metric_${IFVAR} + local m= + eval m=\$metric_${IFVAR} [ -z "${m}" ] && m=$((${metric} + _ifindex)) opts="${opts} defaultmetric ${m}" fi |