aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-08-11 17:18:24 +0200
committerSverker Eriksson <[email protected]>2016-08-11 18:13:55 +0200
commit1def6a4b0eeb5d5a78fd76e97a5b7b4bcd06f185 (patch)
tree0ea2b638b26dfaf5d0796c30758b9d8d5329fabf /lib/kernel/src
parentdfb64c6be9363a0f0f16bc0eb37da11ec4ec10fa (diff)
downloadotp-1def6a4b0eeb5d5a78fd76e97a5b7b4bcd06f185.tar.gz
otp-1def6a4b0eeb5d5a78fd76e97a5b7b4bcd06f185.tar.bz2
otp-1def6a4b0eeb5d5a78fd76e97a5b7b4bcd06f185.zip
kernel: Cleanup code with fancy record syntax
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/net_kernel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/net_kernel.erl b/lib/kernel/src/net_kernel.erl
index ac19f4935b..6687d64787 100644
--- a/lib/kernel/src/net_kernel.erl
+++ b/lib/kernel/src/net_kernel.erl
@@ -384,7 +384,7 @@ init({Name, LongOrShortNames, TickT, CleanHalt}) ->
connections =
ets:new(sys_dist,[named_table,
protected,
- {keypos, 2}]),
+ {keypos, #connection.node}]),
listen = Listeners,
allowed = [],
verbose = 0