diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-07-12 03:37:09 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-07-12 03:37:09 +0000 |
commit | 2ad1949572d725374dae25aaaaef458e80fb0fa3 (patch) | |
tree | 54458cc36914aa1caae72b3bc6fa924c2a84bb6b /net-misc/bridge-utils/files | |
parent | 2.10.0 stable, 2.10.1 ~mips (diff) | |
download | gentoo-2-2ad1949572d725374dae25aaaaef458e80fb0fa3.tar.gz gentoo-2-2ad1949572d725374dae25aaaaef458e80fb0fa3.tar.bz2 gentoo-2-2ad1949572d725374dae25aaaaef458e80fb0fa3.zip |
Bug #98005: Ensure correct behavior when there are no ports on the bridge.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/bridge-utils/files')
-rw-r--r-- | net-misc/bridge-utils/files/bridge-utils-1.0.6-dont-error-on-no-ports.patch | 12 | ||||
-rw-r--r-- | net-misc/bridge-utils/files/digest-bridge-utils-1.0.6-r1 | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/bridge-utils/files/bridge-utils-1.0.6-dont-error-on-no-ports.patch b/net-misc/bridge-utils/files/bridge-utils-1.0.6-dont-error-on-no-ports.patch new file mode 100644 index 000000000000..0cfc47d11796 --- /dev/null +++ b/net-misc/bridge-utils/files/bridge-utils-1.0.6-dont-error-on-no-ports.patch @@ -0,0 +1,12 @@ +--- libbridge/libbridge_init.c.orig 2005-07-05 14:15:23.000000000 +0100 ++++ libbridge/libbridge_init.c 2005-07-05 14:28:30.000000000 +0100 +@@ -230,7 +230,8 @@ + + links = sysfs_get_dir_links(dir); + if (!links) { +- err = -ENOSYS; ++ /* We may not have any ports assigned, so we don't error */ ++ err = errno; + goto out; + } + diff --git a/net-misc/bridge-utils/files/digest-bridge-utils-1.0.6-r1 b/net-misc/bridge-utils/files/digest-bridge-utils-1.0.6-r1 new file mode 100644 index 000000000000..0c80ead242a4 --- /dev/null +++ b/net-misc/bridge-utils/files/digest-bridge-utils-1.0.6-r1 @@ -0,0 +1 @@ +MD5 9b7dc52656f5cbec846a7ba3299f73bd bridge-utils-1.0.6.tar.gz 81937 |