jpirko / libteam

team netdevice library
GNU Lesser General Public License v2.1
230 stars 57 forks source link

Fix TEAM_OPTION_TYPE_BOOL type for big endian architectures #24

Closed jonasj76 closed 8 years ago

jonasj76 commented 8 years ago

The TEAM_OPTION_TYPE_BOOL is handled as a bool in the kernel and as a long in userspace. On a little endian architecture this is not a problem, but on a big endian architecture the result will not be correct.

jonasj76 commented 8 years ago

Added from libteam@lists.fedorahosted.org, commit 2df53681.