diff options
| author | Bill Nottingham <notting@redhat.com> | 2004-10-18 19:10:43 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2004-10-18 19:10:43 +0000 |
| commit | e3da6fcacc799f5655a4585724ec2e33218c6daa (patch) | |
| tree | d0fca31739dafc7593e02057c16e3d771e0817c3 | |
| parent | 573de2c342054ccb0f9e0fbac972c403e5a4d78a (diff) | |
fix typo
| -rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index b87850b1..8452442d 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -387,7 +387,7 @@ else if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then # set up default gateway. replace if one already exists if [ -n "${GATEWAY}" -a "`ipcalc --network ${GATEWAY} ${NETMASK} 2>/dev/null`" = "NETWORK=${NETWORK}" ]; then - ip route replace default via ${GATEWAY} ${WINDOW:+window $WINDOW} ${SRC} ${GATEWAYDEV:dev $GATEWAYDEV} + ip route replace default via ${GATEWAY} ${WINDOW:+window $WINDOW} ${SRC} ${GATEWAYDEV:+dev $GATEWAYDEV} elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then ip route replace default ${SRC} ${WINDOW:+window $WINDOW} dev ${REALDEVICE} fi |
