|
Line
Link Here
|
| 0 |
-- /lib/rcscripts/net/pppd.sh |
0 |
++ /lib/rcscripts/net/pppd.sh |
|
Lines 91-97
Link Here
|
| 91 |
if ! ${hasdefaultmetric} ; then |
91 |
if ! ${hasdefaultmetric} ; then |
| 92 |
local m= |
92 |
local m= |
| 93 |
eval m=\$metric_${IFVAR} |
93 |
eval m=\$metric_${IFVAR} |
| 94 |
[ -z "${m}" ] && m=$((${metric} + _ifindex)) |
94 |
[ -z "${m}" ] && m=$((${metric} + `_ifindex`)) |
| 95 |
opts="${opts} defaultmetric ${m}" |
95 |
opts="${opts} defaultmetric ${m}" |
| 96 |
fi |
96 |
fi |
| 97 |
if [ -n "${mtu}" ] ; then |
97 |
if [ -n "${mtu}" ] ; then |