aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-plusb
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-plusb')
-rwxr-xr-xsysconfig/network-scripts/ifup-plusb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-plusb b/sysconfig/network-scripts/ifup-plusb
index bec39d97..a31608ab 100755
--- a/sysconfig/network-scripts/ifup-plusb
+++ b/sysconfig/network-scripts/ifup-plusb
@@ -34,7 +34,7 @@ fi
if [ "${GATEWAY}" != "" ]; then
if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then
# set up default gateway
- route add default gw ${GATEWAY}
+ route add default gw ${GATEWAY} ${METRIC:+metric $METRIC}
fi
fi