This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom network interface library".
The branch, master has been updated via a659590e29412588bca2243b8329e82286244b00 (commit) from 7cee4b67e90aeb260bde11ee7f299e507c94bc10 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmo-netif/commit/?id=a659590e29412588bca2243b832...
commit a659590e29412588bca2243b8329e82286244b00 Author: Harald Welte laforge@gnumonks.org Date: Mon Apr 10 17:48:42 2017 +0200
stream.c: Fix endianness handling of PPID and STREAM_ID
In their infinite wisdom, the inventors of SCTP designed an API (the sockets API described in RFC6458), where some members are in host byte order (like the stream identifier), while other members are in network byte order (like the PPID).
Let's handle this properly (we assumed both are network byte order), and also use 16-bit htons/ntohs fo the PPID, rather than htonl/ntohl.
Change-Id: I777174ca2915c6de0063db41a745c71b4a09bbec
-----------------------------------------------------------------------
Summary of changes: src/stream.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
osmocom-commitlog@lists.osmocom.org