Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
bridge-utils-1.0.4 and 1.0.6 error when there are no ports on the bridge when compiled against libsysfs Expected results bridge name bridge id STP enabled interfaces br0 8000.000000000000 no Actual Results bridge name bridge id STP enabled interfaces br0 8000.000000000000 no can't get port info: Function not implemented Unfortuantely, the error is dumped to stderr - whick sucks when you're trying to work out the ports on a bridge - or the bridge of a port using userspace tools.
Created an attachment (id=62666) [edit] Stops brctl from erroring when there are no listed ported in sysfs applies cleanly to 1.0.6 - may apply to 1.0.4
(of course I meant to say that the error is dumped to stdout and not stderr, so I cannot filter it in bash)
Created an attachment (id=62678) [edit] return errno instead of -ENOSYS when there are no ports on a bridge
in cvs now. could you please send it upstream as well roy?
Punted the patch over to their source forge site http://sourceforge.net/tracker/?group_id=26089&atid=386017