aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-iucv
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-11-07 21:32:54 +0000
committerThan Ngo <than@redhat.com>2001-11-07 21:32:54 +0000
commit221bf36b3c7664fb819c3bbcd197c581a992062b (patch)
tree26e5d21105d089443b43dd6b3adf9e8842b92110 /sysconfig/network-scripts/ifup-iucv
parent89e18426fc1ea9152d1a5e2aa474a92db7ab34da (diff)
downloadinitscripts-221bf36b3c7664fb819c3bbcd197c581a992062b.tar
initscripts-221bf36b3c7664fb819c3bbcd197c581a992062b.tar.gz
initscripts-221bf36b3c7664fb819c3bbcd197c581a992062b.tar.bz2
initscripts-221bf36b3c7664fb819c3bbcd197c581a992062b.tar.xz
initscripts-221bf36b3c7664fb819c3bbcd197c581a992062b.zip
- fix bug in setting netmask on s390/s390x (bug #55421)
nmbd daemon works now ;-)
Diffstat (limited to 'sysconfig/network-scripts/ifup-iucv')
-rwxr-xr-xsysconfig/network-scripts/ifup-iucv4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv
index 5f4bb2fc..48c822da 100755
--- a/sysconfig/network-scripts/ifup-iucv
+++ b/sysconfig/network-scripts/ifup-iucv
@@ -24,9 +24,9 @@ then
fi
[ -n "${MTU}" ] && opts="${opts} mtu ${MTU}"
-ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP}
+ifconfig ${DEVICE} ${IPADDR} ${opts} pointopoint ${REMIP} netmask ${NETMASK}
if [ "${NETWORK}" != "" ] ; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -host ${REMIP} metric 1 ${DEVICE}
fi
. /etc/sysconfig/network