about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
authorMichael Biebl <biebl@teco.edu>2006-05-10 00:33:27 +0000
committerMichael Biebl <biebl@teco.edu>2006-05-10 00:33:27 +0000
commit63b3f3f48fb827a50b82d46c358dbedea4060770 (patch)
tree548993eee7a64b13794f056b8491bcd385673d7a /debian
parentf9ec882bec72c776c55aee51f2e299f6af2e52ce (diff)
Use strstr, because auto can have multiple interfaces, e.g.
auto lo eth0


git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@819 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/08-disabled_devices.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/08-disabled_devices.patch b/debian/patches/08-disabled_devices.patch
index 9ffe22ce..d5392c9f 100644
--- a/debian/patches/08-disabled_devices.patch
+++ b/debian/patches/08-disabled_devices.patch
@@ -30,7 +30,7 @@
 +	 */
 +	for (curr_b = ifparser_getfirst(); curr_b; curr_b = curr_b->next) {
 +		if (!strcmp (curr_b->type, "auto")
-+		    && !strcmp (curr_b->name, iface))
++		    && strstr (curr_b->name, iface))
 +			blacklist = FALSE;
 +	}
 +