diff options
author | Raimo Niskanen <[email protected]> | 2011-09-28 10:18:26 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2011-11-17 15:42:14 +0100 |
commit | 12104f3c92b89d3146204f3b620cd1192939b267 (patch) | |
tree | 3eba3cf2f4c1c30ed41b01c23befa54bac8ebf04 /erts/emulator/drivers/common | |
parent | c501ca26c01d222af4b05b1732059a7a9684b1c3 (diff) | |
download | otp-12104f3c92b89d3146204f3b620cd1192939b267.tar.gz otp-12104f3c92b89d3146204f3b620cd1192939b267.tar.bz2 otp-12104f3c92b89d3146204f3b620cd1192939b267.zip |
erts: Fix SCTP decoding byteorder bug for adaptation_ind
Diffstat (limited to 'erts/emulator/drivers/common')
-rw-r--r-- | erts/emulator/drivers/common/inet_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c index 097fe78e19..ed6e17212f 100644 --- a/erts/emulator/drivers/common/inet_drv.c +++ b/erts/emulator/drivers/common/inet_drv.c @@ -6764,7 +6764,7 @@ static int sctp_fill_opts(inet_descriptor* desc, char* buf, int buflen, 2*LOAD_ATOM_CNT + LOAD_INT_CNT + 2*LOAD_TUPLE_CNT); i = LOAD_ATOM (spec, i, am_sctp_adaptation_layer); i = LOAD_ATOM (spec, i, am_sctp_setadaptation); - i = LOAD_INT (spec, i, ad.ssb_adaptation_ind); + i = LOAD_INT (spec, i, sock_ntohl(ad.ssb_adaptation_ind)); i = LOAD_TUPLE (spec, i, 2); i = LOAD_TUPLE (spec, i, 2); break; |