aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ctc
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-ctc')
-rwxr-xr-xsysconfig/network-scripts/ifup-ctc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc
index 193c11b5..547fe094 100755
--- a/sysconfig/network-scripts/ifup-ctc
+++ b/sysconfig/network-scripts/ifup-ctc
@@ -47,7 +47,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