aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2018-11-26 18:08:40 +0100
committerRickard Green <[email protected]>2018-11-26 18:08:40 +0100
commit7fa32e36811029ff6f88229cdc5e2a0f97e72946 (patch)
tree733bd3f2af20d2a000f916a77dae913f37fa695f /lib
parent1c4242fab0ce77e6081665f61d74413ca11038a8 (diff)
parent044d974adfe7f244374bf534b5dae1a90c58239c (diff)
downloadotp-7fa32e36811029ff6f88229cdc5e2a0f97e72946.tar.gz
otp-7fa32e36811029ff6f88229cdc5e2a0f97e72946.tar.bz2
otp-7fa32e36811029ff6f88229cdc5e2a0f97e72946.zip
Merge branch 'sverker/kernel/net_kernel-failed-accept_pending/ERL-781/OTP-15438' into maint
* sverker/kernel/net_kernel-failed-accept_pending/ERL-781/OTP-15438: kernel: Fix bug in net_kernel for connection attempt from self
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/net_kernel.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/net_kernel.erl b/lib/kernel/src/net_kernel.erl
index 3cf11fd7b1..a9dc77837e 100644
--- a/lib/kernel/src/net_kernel.erl
+++ b/lib/kernel/src/net_kernel.erl
@@ -808,7 +808,8 @@ handle_info({AcceptPid, {accept_pending,MyNode,Node,Address,Type}}, State) ->
_:_ ->
error_logger:error_msg("~n** Cannot get connection id for node ~w~n",
[Node]),
- AcceptPid ! {self(),{accept_pending,nok_pending}}
+ AcceptPid ! {self(),{accept_pending,nok_pending}},
+ {noreply, State}
end
end;