diff options
author | Raimo Niskanen <[email protected]> | 2011-09-02 10:38:39 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2011-11-17 12:10:59 +0100 |
commit | faea8584311fcb5365c585280e5e9b2364ed121e (patch) | |
tree | 3a560347d7b10cdd815ae7afe19839439e4e8cfb /lib/kernel/src/inet6_sctp.erl | |
parent | bfb350ecc30d44e64ed75512690a0e4fbbb6bc2a (diff) | |
download | otp-faea8584311fcb5365c585280e5e9b2364ed121e.tar.gz otp-faea8584311fcb5365c585280e5e9b2364ed121e.tar.bz2 otp-faea8584311fcb5365c585280e5e9b2364ed121e.zip |
erts,kernel: Add type stream sockets to SCTP
Diffstat (limited to 'lib/kernel/src/inet6_sctp.erl')
-rw-r--r-- | lib/kernel/src/inet6_sctp.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/inet6_sctp.erl b/lib/kernel/src/inet6_sctp.erl index 5bf3fca647..f034535ba0 100644 --- a/lib/kernel/src/inet6_sctp.erl +++ b/lib/kernel/src/inet6_sctp.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2007-2010. All Rights Reserved. +%% Copyright Ericsson AB 2007-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -54,8 +54,8 @@ translate_ip(IP) -> open(Opts) -> case inet:sctp_options(Opts, ?MODULE) of - {ok,#sctp_opts{fd=Fd,ifaddr=Addr,port=Port,opts=SOs}} -> - inet:open(Fd, Addr, Port, SOs, sctp, ?FAMILY, ?MODULE); + {ok,#sctp_opts{fd=Fd,ifaddr=Addr,port=Port,type=Type,opts=SOs}} -> + inet:open(Fd, Addr, Port, SOs, sctp, ?FAMILY, Type, ?MODULE); Error -> Error end. |