aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-12-18 11:42:26 +0100
committerAnders Svensson <[email protected]>2018-03-05 11:30:23 +0100
commitfac8186f85695516ee49ddefbdf71294113a50d9 (patch)
tree33f5ba27958bd229007411987eb3b45a8e169f38 /lib/diameter
parent44b09e036b31b29dddc3b178e8f6b9fc96a9a874 (diff)
downloadotp-fac8186f85695516ee49ddefbdf71294113a50d9.tar.gz
otp-fac8186f85695516ee49ddefbdf71294113a50d9.tar.bz2
otp-fac8186f85695516ee49ddefbdf71294113a50d9.zip
Fix inaccurate comment
A peer_fsm process can be started long before a connection is established in the listening case. The time reported in a 'peer' tuple in service_info is of connection establishment.
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/base/diameter_service.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_service.erl b/lib/diameter/src/base/diameter_service.erl
index 31dd92f878..4340e706ee 100644
--- a/lib/diameter/src/base/diameter_service.erl
+++ b/lib/diameter/src/base/diameter_service.erl
@@ -151,7 +151,7 @@
apps :: match([{0..16#FFFFFFFF, diameter:app_alias()}] %% {Id, Alias}
| [diameter:app_alias()]), %% remote
caps :: match(#diameter_caps{}),
- started = diameter_lib:now(), %% at process start or sharing
+ started = diameter_lib:now(), %% at connection_up
watchdog :: match(pid() %% key into watchdogT
| undefined)}). %% undefined if remote