"brctl show" error when no ports are on bridge
Brought to you by:
buytenh,
shemminger
When bridge utils is compiled with sysfs support, an
error is shown when "btcrl show" is run when there are
no ports assigned to a bridge.
The attached patch fixes this behaviour by changing err
from -ENOSYS to errno so that the last error (if any)
is reported instead of assuming that no links means
there is an error.
I don't know if we should only set err if error !=0 though
Patch to fix error when no ports on bridge
Logged In: NO
jj