rpms/dhcp/FC-4 dhcp-3.0.2-bz177845.patch,NONE,1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Jan 16 21:31:48 UTC 2006
Author: jvdias
Update of /cvs/dist/rpms/dhcp/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv29736
Added Files:
dhcp-3.0.2-bz177845.patch
Log Message:
fix bug 177845
dhcp-3.0.2-bz177845.patch:
linux | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE dhcp-3.0.2-bz177845.patch ---
--- dhcp-3.0.2/client/scripts/linux.bz177845 2006-01-16 16:20:45.000000000 -0500
+++ dhcp-3.0.2/client/scripts/linux 2006-01-16 16:21:42.000000000 -0500
@@ -282,7 +282,7 @@
added_router=1;
fi;
done
- if [ -z "$router" ] || [ "$added_router" -eq 1 ] || [ `IFS=. ip2num $router` -le 0 ] || [[ "$router" = "$new_broadcast_address" ]]; then
+ if [ -z "$router" ] || [ "$added_router" -eq 1 ] || [ `IFS=. ip2num $router` -le 0 ] || [[ ( "$router" = "$new_broadcast_address" ) && ( "$new_subnet_mask" != "255.255.255.255" ) ]]; then
continue;
fi;
default_routers=(${default_routers[@]} $router)
@@ -435,7 +435,7 @@
fi;
}
-if [ x$new_broadcast_address != x ]; then
+if [ x$new_broadcast_address != x ] && [ x$new_subnet_mask != x ] && [ "$new_subnet_mask" != "255.255.255.255" ]; then
new_broadcast_arg="broadcast $new_broadcast_address"
fi
if [ x$old_broadcast_address != x ]; then
More information about the fedora-cvs-commits
mailing list