about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/82-core-handle-device-removal.patch15
-rw-r--r--debian/patches/83-dnsmasq-send-no-config-file-instead-of-a-bogus-one.patch15
2 files changed, 12 insertions, 18 deletions
diff --git a/debian/patches/82-core-handle-device-removal.patch b/debian/patches/82-core-handle-device-removal.patch
index deac3a69..0e9ae6d7 100644
--- a/debian/patches/82-core-handle-device-removal.patch
+++ b/debian/patches/82-core-handle-device-removal.patch
@@ -13,11 +13,11 @@ connected, unlike the interface name.
  src/nm-manager.c |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)
 
-diff --git a/src/nm-manager.c b/src/nm-manager.c
-index eb393fa..48f2173 100644
---- a/src/nm-manager.c
-+++ b/src/nm-manager.c
-@@ -2426,6 +2426,14 @@ udev_device_removed_cb (NMUdevManager *manager,
+Index: network-manager/src/nm-manager.c
+===================================================================
+--- network-manager.orig/src/nm-manager.c	2011-03-11 14:38:52.924832466 +0100
++++ network-manager/src/nm-manager.c	2011-03-11 14:49:20.272832466 +0100
+@@ -1842,6 +1842,14 @@
  
  	ifindex = g_udev_device_get_property_as_int (udev_device, "IFINDEX");
  	device = find_device_by_ifindex (self, ifindex);
@@ -30,8 +30,5 @@ index eb393fa..48f2173 100644
 +	}
 +
  	if (device)
- 		priv->devices = remove_one_device (self, priv->devices, device, FALSE);
+ 		priv->devices = remove_one_device (self, priv->devices, device, FALSE, TRUE);
  }
--- 
-1.7.2.3
-
diff --git a/debian/patches/83-dnsmasq-send-no-config-file-instead-of-a-bogus-one.patch b/debian/patches/83-dnsmasq-send-no-config-file-instead-of-a-bogus-one.patch
index 96a179a7..01a2e655 100644
--- a/debian/patches/83-dnsmasq-send-no-config-file-instead-of-a-bogus-one.patch
+++ b/debian/patches/83-dnsmasq-send-no-config-file-instead-of-a-bogus-one.patch
@@ -7,11 +7,11 @@ Subject: [PATCH] dnsmasq: send no config file instead of a bogus one (lp:725041)
  src/dnsmasq-manager/nm-dnsmasq-manager.c |   12 ++----------
  1 files changed, 2 insertions(+), 10 deletions(-)
 
-diff --git a/src/dnsmasq-manager/nm-dnsmasq-manager.c b/src/dnsmasq-manager/nm-dnsmasq-manager.c
-index 701c078..ca2f9dc 100644
---- a/src/dnsmasq-manager/nm-dnsmasq-manager.c
-+++ b/src/dnsmasq-manager/nm-dnsmasq-manager.c
-@@ -254,7 +254,6 @@ create_dm_cmd_line (const char *iface,
+Index: network-manager/src/dnsmasq-manager/nm-dnsmasq-manager.c
+===================================================================
+--- network-manager.orig/src/dnsmasq-manager/nm-dnsmasq-manager.c	2011-03-11 14:38:52.884832466 +0100
++++ network-manager/src/dnsmasq-manager/nm-dnsmasq-manager.c	2011-03-11 14:49:25.000832466 +0100
+@@ -253,7 +253,6 @@
  	struct in_addr addr;
  	char buf[INET_ADDRSTRLEN + 15];
  	char localaddr[INET_ADDRSTRLEN + 1];
@@ -19,7 +19,7 @@ index 701c078..ca2f9dc 100644
  
  	dm_binary = nm_find_dnsmasq ();
  	if (!dm_binary) {
-@@ -278,17 +277,10 @@ create_dm_cmd_line (const char *iface,
+@@ -277,17 +276,10 @@
  	/* dnsmasq may read from it's default config file location, which if that
  	 * location is a valid config file, it will combine with the options here
  	 * and cause undesirable side-effects.  Like sending bogus IP addresses
@@ -39,6 +39,3 @@ index 701c078..ca2f9dc 100644
  
  	nm_cmd_line_add_string (cmd, "--no-hosts");
  	nm_cmd_line_add_string (cmd, "--keep-in-foreground");
--- 
-1.7.4.1
-