rpms/dhcp/devel dhcp-3.0.3-bz177845.patch,NONE,1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Jan 16 21:10:42 UTC 2006
Author: jvdias
Update of /cvs/dist/rpms/dhcp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv11252
Added Files:
dhcp-3.0.3-bz177845.patch
Log Message:
fix bug 176615
dhcp-3.0.3-bz177845.patch:
linux | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE dhcp-3.0.3-bz177845.patch ---
--- dhcp-3.0.3/client/scripts/linux.bz177845 2006-01-09 15:17:10.000000000 -0500
+++ dhcp-3.0.3/client/scripts/linux 2006-01-16 15:45:05.000000000 -0500
@@ -281,7 +281,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)
@@ -434,7 +434,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