This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eMediaType is a 16-bit enum, so it must be swapped. This is currently not done, which results in the wrong values sent over the wire. To fix this, do swapping for all enums, based on the size of the type. This does result in redundant swaps for the 8-bit enums, but that is negligible. In addition, tlvf_swap is inlined anyway so when optimising the code will be removed entirely. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
- Loading branch information
Showing
25 changed files
with
361 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.