diff options
| author | Riccardo Setti <giskard@autistici.org> | 2006-08-02 18:04:11 +0000 |
|---|---|---|
| committer | Riccardo Setti <giskard@autistici.org> | 2006-08-02 18:04:11 +0000 |
| commit | 420f5e82421755940f3d1b3f3145e7bf9da20299 (patch) | |
| tree | f6ce3bc79c782b42d414e36000872c66aabed7b8 /debian | |
| parent | a449bc5835aeca913c8ccc5e378ec3b06fcdde2f (diff) | |
fixed an error in debian/patch/08.patch
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@911 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/patches/08-disabled_devices.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/08-disabled_devices.patch b/debian/patches/08-disabled_devices.patch index 37e2d727..50a4e4c2 100644 --- a/debian/patches/08-disabled_devices.patch +++ b/debian/patches/08-disabled_devices.patch @@ -29,7 +29,7 @@ + * definitely not okay to control it. + */ + for (curr_b = ifparser_getfirst(); curr_b; curr_b = curr_b->next) { -+ if (!strcmp (curr_b->type, "auto") || !strcmp (curr_b->type, "allow-hotplug") ++ if ((!strcmp (curr_b->type, "auto") || !strcmp (curr_b->type, "allow-hotplug")) + && strstr (curr_b->name, iface)) + blacklist = FALSE; + } @@ -39,7 +39,7 @@ + */ + for (curr_d = curr_device->info; curr_d; curr_d = curr_d->next) { + if (strcmp (curr_d->key, "inet") -+ || strcmp (curr_d->data, "dhcp" )|| strcmp ( currd->key, "iface")) ++ || strcmp (curr_d->data, "dhcp" )|| strcmp ( curr_d->key, "iface")) + blacklist = TRUE; + } + |