aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-03-02 10:07:10 +0100
committerSiri Hansen <[email protected]>2016-03-02 10:07:10 +0100
commit0d527441af4d2721d4b2d98a100d9e810a90fc22 (patch)
treede7dc35f9d4430f5611eb728e646c92defad52b3
parent72398fd081732a599dba183b26cc056bd310eba1 (diff)
parent343ab7e12a9be10128ce6dd0d083ae0b6bf15019 (diff)
downloadotp-0d527441af4d2721d4b2d98a100d9e810a90fc22.tar.gz
otp-0d527441af4d2721d4b2d98a100d9e810a90fc22.tar.bz2
otp-0d527441af4d2721d4b2d98a100d9e810a90fc22.zip
Merge branch 'siri/ct_netconfc/log-open-close/OTP-13386' into maint
* siri/ct_netconfc/log-open-close/OTP-13386: Log open and close of netconf connections
-rw-r--r--lib/common_test/src/ct_conn_log_h.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_conn_log_h.erl b/lib/common_test/src/ct_conn_log_h.erl
index f7615fdc14..93f358462d 100644
--- a/lib/common_test/src/ct_conn_log_h.erl
+++ b/lib/common_test/src/ct_conn_log_h.erl
@@ -117,7 +117,7 @@ write_report(Time,#conn_log{module=ConnMod}=Info,Data,GL,State) ->
ok;
{LogType,Fd} ->
case format_data(ConnMod,LogType,Data) of
- [] ->
+ [] when Info#conn_log.action==send; Info#conn_log.action==recv ->
ok;
FormattedData ->
io:format(Fd,"~n~ts~ts~ts",[format_head(ConnMod,LogType,Time),