diff options
author | Raimo Niskanen <[email protected]> | 2010-08-25 14:43:49 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-08-31 14:21:01 +0200 |
commit | eca2411eb67461bf3cda66d0f981b47698ab99f3 (patch) | |
tree | eef5e45f48e617a49784cfe8a1100b558944e8b1 /erts/preloaded/src | |
parent | 82d430853eb1f53e6022de647c26254fe5681454 (diff) | |
download | otp-eca2411eb67461bf3cda66d0f981b47698ab99f3.tar.gz otp-eca2411eb67461bf3cda66d0f981b47698ab99f3.tar.bz2 otp-eca2411eb67461bf3cda66d0f981b47698ab99f3.zip |
Fill in sinfo_assoc_id in struct sctp_sndrcvinfo for getopt()
The assoc_id field was uninitialized causing random answers.
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r-- | erts/preloaded/src/prim_inet.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/prim_inet.erl b/erts/preloaded/src/prim_inet.erl index 0feb591efb..015c693888 100644 --- a/erts/preloaded/src/prim_inet.erl +++ b/erts/preloaded/src/prim_inet.erl @@ -1206,7 +1206,7 @@ type_opt_1(sctp_default_send_param) -> timetolive = [uint32,0], tsn = [], cumtsn = [], - assoc_id = [sctp_assoc_id,0]}}]; + assoc_id = [[sctp_assoc_id,0]]}}]; %% for SCTP_OPT_EVENTS type_opt_1(sctp_events) -> [{record,#sctp_event_subscribe{ |