From 63b3f3f48fb827a50b82d46c358dbedea4060770 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 10 May 2006 00:33:27 +0000 Subject: 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 --- debian/patches/08-disabled_devices.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; + } + -- cgit 1.3.0-6-gf8a5