[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/dhcp/devel dhcp-3.0.3-bz173619.patch,NONE,1.1



Author: jvdias

Update of /cvs/dist/rpms/dhcp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16115

Added Files:
	dhcp-3.0.3-bz173619.patch 
Log Message:
fix bug 173619: dhclient-script should reconfig on RENEW if options changed

dhcp-3.0.3-bz173619.patch:
 linux |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

--- NEW FILE dhcp-3.0.3-bz173619.patch ---
--- dhcp-3.0.3/client/scripts/linux.bz173619	2005-11-18 13:55:07.000000000 -0500
+++ dhcp-3.0.3/client/scripts/linux	2005-11-18 14:24:44.000000000 -0500
@@ -240,8 +240,14 @@
 	    ifconfig $interface inet 0 down
 	fi
     fi
-    if [ x$old_ip_address = x ] || [ x$old_ip_address != x$new_ip_address ] || \
-	    [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then
+    if [ x$reason = xBOUND ] || [ x$reason = xREBOOT ] || \    
+       [ x$old_ip_address  != x$new_ip_address ] || \
+       [ x$old_subnet_mask != x$new_subnet_mask ] || \
+       [ x$new_network_number != x$new_network_number ] || \
+       [ x$old_broadcast_address != x$new_broadcast_address ] || \
+       [ "x$old_routers" != "x$new_routers" ] || \
+       [ x$old_interface_mtu != x$new_interface_mtu ] ; \
+    then
 
 	if [ -z "${dhc_dbus}" ] || (( ( dhc_dbus & 2 ) != 2 )); then
 	    ifconfig $interface inet $new_ip_address $new_subnet_arg \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]