From f348a4461d5c3b5e887eeb550117f08508adf2d6 Mon Sep 17 00:00:00 2001 From: Anders Svensson Date: Thu, 5 Oct 2017 14:16:14 +0200 Subject: Update appup and code_change for ERIERL-83 --- lib/diameter/src/base/diameter_reg.erl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/diameter/src/base') diff --git a/lib/diameter/src/base/diameter_reg.erl b/lib/diameter/src/base/diameter_reg.erl index e0c41a2834..5b7cfab31a 100644 --- a/lib/diameter/src/base/diameter_reg.erl +++ b/lib/diameter/src/base/diameter_reg.erl @@ -298,6 +298,11 @@ terminate(_Reason, _State)-> %% # code_change/3 %% ---------------------------------------------------------- +code_change(_, State, "2.1") -> + {ok, lists:foldl(fun add_monitor/2, + State, + ets:select(?TABLE, [{{'_', '$1'}, [], ['$1']}]))}; + code_change(_OldVsn, State, _Extra) -> {ok, State}. -- cgit v1.2.3