aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-09-25 09:31:54 +0200
committerAnders Svensson <[email protected]>2012-09-25 09:31:54 +0200
commit1057d8c7f1bc386e4369c39574cfca97751d9a65 (patch)
tree9c5966be57ee79c2cd6cbf3afc2e5667d9683d91 /lib/diameter/src/base
parent952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 (diff)
downloadotp-1057d8c7f1bc386e4369c39574cfca97751d9a65.tar.gz
otp-1057d8c7f1bc386e4369c39574cfca97751d9a65.tar.bz2
otp-1057d8c7f1bc386e4369c39574cfca97751d9a65.zip
Exit peer_fsm with {shutdown, watchdog_timeout}, not shutdown
This was a remnant of the time when sasl interpreted everything but shutdown or normal as a crash.
Diffstat (limited to 'lib/diameter/src/base')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index d7474e5c56..53f5f42396 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -555,7 +555,7 @@ timeout(#watchdog{status = T,
= S)
when T == suspect;
T == reopen, P, N < 0 ->
- exit(TPid, shutdown),
+ exit(TPid, {shutdown, watchdog_timeout}),
close(S),
S#watchdog{status = down};