Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
erts: Fix SCTP decoding byteorder bug for adaptation_ind
  • Loading branch information
RaimoNiskanen committed Nov 17, 2011
1 parent c501ca2 commit 12104f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erts/emulator/drivers/common/inet_drv.c
Expand Up @@ -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;
Expand Down

0 comments on commit 12104f3

Please sign in to comment.