[Pkg-uml-commit] r254 - trunk/src/rootstrap/modules

Mattia Dongili malattia at alioth.debian.org
Tue Nov 14 22:03:48 CET 2006


Author: malattia
Date: 2006-11-14 22:03:47 +0100 (Tue, 14 Nov 2006)
New Revision: 254

Modified:
   trunk/src/rootstrap/modules/network
Log:
fix gateway setting for some corner cases (netmask=255.255.255.255)

Modified: trunk/src/rootstrap/modules/network
===================================================================
--- trunk/src/rootstrap/modules/network	2006-11-12 18:17:35 UTC (rev 253)
+++ trunk/src/rootstrap/modules/network	2006-11-14 21:03:47 UTC (rev 254)
@@ -12,6 +12,7 @@
     ifconfig $interface $uml netmask $netmask
 
     if [ -n "$gateway" ]; then
+	route add -host $gateway dev $interface
         route add default gw $gateway
     fi
 fi




More information about the Pkg-uml-commit mailing list