r25444 - in /packages/unstable/netspeed/debian: changelog patches/02_default_route.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Tue Oct 26 08:08:19 UTC 2010


Author: joss
Date: Tue Oct 26 08:08:11 2010
New Revision: 25444

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25444
Log:
02_default_route.patch: stolen upstream. Fix logic for default 
interface detection.

Added:
    packages/unstable/netspeed/debian/patches/02_default_route.patch
Modified:
    packages/unstable/netspeed/debian/changelog

Modified: packages/unstable/netspeed/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/netspeed/debian/changelog?rev=25444&op=diff
==============================================================================
--- packages/unstable/netspeed/debian/changelog [utf-8] (original)
+++ packages/unstable/netspeed/debian/changelog [utf-8] Tue Oct 26 08:08:11 2010
@@ -1,3 +1,10 @@
+netspeed (0.15.2-3) UNRELEASED; urgency=low
+
+  * 02_default_route.patch: stolen upstream. Fix logic for default 
+    interface detection.
+
+ -- Josselin Mouette <joss at debian.org>  Tue, 26 Oct 2010 10:07:22 +0200
+
 netspeed (0.15.2-2) unstable; urgency=low
 
   * 01_stock_icons.patch: new patch. Use go-up and go-down stock icons 

Added: packages/unstable/netspeed/debian/patches/02_default_route.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/netspeed/debian/patches/02_default_route.patch?rev=25444&op=file
==============================================================================
--- packages/unstable/netspeed/debian/patches/02_default_route.patch (added)
+++ packages/unstable/netspeed/debian/patches/02_default_route.patch [utf-8] Tue Oct 26 08:08:11 2010
@@ -1,0 +1,22 @@
+From f8c51d51095a38e34d859146149a7af3272e1d52 Mon Sep 17 00:00:00 2001
+From: Jaap A. Haitsma <jaap at haitsma.org>
+Date: Mon, 27 Apr 2009 05:27:02 +0000
+Subject: Use default route
+
+Fixes bug #570548
+---
+diff --git a/src/backend.c b/src/backend.c
+index 698e004..4b93709 100644
+--- a/src/backend.c
++++ b/src/backend.c
+@@ -103,7 +103,7 @@ get_default_route(void)
+ 		
+ 		if (retval != 11) continue;
+ 			
+-		if (gw == 0 && !is_dummy_device(device)) {
++		if (ip == 0 && !is_dummy_device(device)) {
+ 			fclose(fp);
+ 			return device;
+ 		}			
+--
+cgit v0.8.3.1




More information about the pkg-gnome-commits mailing list