Hi,

I think that this bug should also be fixed in stable.

I can propose it to the debian-release mailing-list if you don't plan to do it.

See diff below.

Regards

Mathieu

diff -ur old/ifupdown-extra-0.14/debian/changelog
new/ifupdown-extra-0.14+nmu1/debian/changelog
--- old/ifupdown-extra-0.14/debian/changelog    2009-08-01 01:41:37.000000000 
+0200
+++ new/ifupdown-extra-0.14+nmu1/debian/changelog       2011-02-22
21:53:08.000000000 +0100
@@ -1,3 +1,11 @@
+ifupdown-extra (0.14+nmu1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "Incorrect "ERROR: Incorrect line for eth0 in
+    /etc/network/routes"" (Closes: #613632)
+
+ -- Mathieu Parent <sath...@debian.org>  Tue, 22 Feb 2011 21:53:02 +0100
+
 ifupdown-extra (0.14) unstable; urgency=low

   * Apply a patch provided by Guillem Jover to make check-duplicate-ip work
diff -ur old/ifupdown-extra-0.14/if-up-scripts/static-routes
new/ifupdown-extra-0.14+nmu1/if-up-scripts/static-routes
--- old/ifupdown-extra-0.14/if-up-scripts/static-routes 2009-08-01
01:40:56.000000000 +0200
+++ new/ifupdown-extra-0.14+nmu1/if-up-scripts/static-routes    2011-02-22
21:52:23.000000000 +0100
@@ -57,7 +57,7 @@
        # /etc/network/if-pre-down.d/ (which you don't need to)
        cat $ROUTEFILE | egrep "${IFACE}$" |
        while read network netmask gateway interface ; do
-            if [ -n "$interface" ] && [ -n "$network" ] && [ -n
"$netmask" ] && [ "$gateway" = "reject" ] ; then
+            if [ -n "$interface" ] && [ -n "$network" ] && [ -n
"$netmask" ] && [ "$gateway" != "reject" ] ; then
                 [ "$VERBOSITY" -eq 1 ] && echo "DEBUG: Deleting route
for $network / $netmask through gateway $gateway at $interface"
                     route del -net $network netmask $netmask gw
$gateway dev $interface
             else
@@ -69,7 +69,7 @@
 add_static_routes() {
        cat $ROUTEFILE | egrep "${IFACE}$" |
        while read network netmask gateway interface ; do
-            if [ -n "$interface" ] && [ -n "$network" ] && [ -n
"$netmask" ] && [ "$gateway" = "reject" ] ; then
+            if [ -n "$interface" ] && [ -n "$network" ] && [ -n
"$netmask" ] && [ "$gateway" != "reject" ] ; then
                [ "$VERBOSITY" -eq 1 ] && echo "DEBUG: Adding route for 
$network /
$netmask through gateway $gateway at $interface"
                route add -net $network netmask $netmask gw $gateway dev 
$interface
             else



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to