From 221bf36b3c7664fb819c3bbcd197c581a992062b Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 7 Nov 2001 21:32:54 +0000 Subject: - fix bug in setting netmask on s390/s390x (bug #55421) nmbd daemon works now ;-) --- sysconfig/network-scripts/ifup-ctc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconfig/network-scripts/ifup-ctc') diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc index 98be8223..1cfa4970 100755 --- a/sysconfig/network-scripts/ifup-ctc +++ b/sysconfig/network-scripts/ifup-ctc @@ -24,7 +24,7 @@ then fi [ -n "${MTU}" ] && opts="${opts} mtu ${MTU}" -ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} +ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK} # Wait for the device to come up - the chandev'ified ctc driver can take # quite a while... @@ -38,7 +38,7 @@ while ! ping -w 30 -c 1 ${REMIP} &>/dev/null; do done if [ "${NETWORK}" != "" ] ; then - route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE} + route add -host ${REMIP} metric 1 ${DEVICE} fi . /etc/sysconfig/network -- cgit v1.2.1