aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-11-14 10:50:06 +0100
committerIngela Anderton Andin <[email protected]>2012-11-14 10:50:06 +0100
commitd30cee99c662bf030ce035e56e342d7ebf155513 (patch)
tree7ab4b2cfbca419cd6bcc09fdee243b24deb7e6af /lib/ssl/src/ssl.erl
parent24797b6ba55cfd83438381234c3108540ea29acb (diff)
parent55c2b0b6d55fe6a011671832b5529cb1c7b636a8 (diff)
downloadotp-d30cee99c662bf030ce035e56e342d7ebf155513.tar.gz
otp-d30cee99c662bf030ce035e56e342d7ebf155513.tar.bz2
otp-d30cee99c662bf030ce035e56e342d7ebf155513.zip
Merge remote branch 'upstream/maint'
Conflicts: lib/ssl/src/ssl_connection.erl
Diffstat (limited to 'lib/ssl/src/ssl.erl')
-rw-r--r--lib/ssl/src/ssl.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 7788f758ac..771bfa5739 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -869,10 +869,10 @@ internal_inet_values() ->
socket_options(InetValues) ->
#socket_options{
- mode = proplists:get_value(mode, InetValues),
- header = proplists:get_value(header, InetValues),
- active = proplists:get_value(active, InetValues),
- packet = proplists:get_value(packet, InetValues),
+ mode = proplists:get_value(mode, InetValues, lists),
+ header = proplists:get_value(header, InetValues, 0),
+ active = proplists:get_value(active, InetValues, active),
+ packet = proplists:get_value(packet, InetValues, 0),
packet_size = proplists:get_value(packet_size, InetValues)
}.