diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-08-27 09:47:58 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-08-27 08:45:45 +0000 |
commit | 1e61865894317774ca1adff0bb5b40b21a14594a (patch) | |
tree | 95e077317123ebc2d643c20d26c702fe1486ed1c | |
parent | c22dce4a05d6f1a96182383a8c286499d0951cd0 (diff) | |
download | wireshark-1e61865894317774ca1adff0bb5b40b21a14594a.tar.gz wireshark-1e61865894317774ca1adff0bb5b40b21a14594a.tar.bz2 wireshark-1e61865894317774ca1adff0bb5b40b21a14594a.zip |
SSL: use col_append_sep_str() to add heartbeat to info column
Bug: 15079
Change-Id: I97e5179f1385d24b38a0537a91bc73a9eb3a241b
Reviewed-on: https://code.wireshark.org/review/29299
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
(cherry picked from commit 281936a5bed109f3ed4287d8d14ab410629f00f4)
Reviewed-on: https://code.wireshark.org/review/29303
-rw-r--r-- | epan/dissectors/packet-ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c index 39d409c5ef..8af800e66b 100644 --- a/epan/dissectors/packet-ssl.c +++ b/epan/dissectors/packet-ssl.c @@ -2118,9 +2118,9 @@ dissect_ssl3_heartbeat(tvbuff_t *tvb, packet_info *pinfo, /* now set the text in the record layer line */ if (type && decrypted) { - col_append_fstr(pinfo->cinfo, COL_INFO, "Heartbeat %s", type); + col_append_sep_fstr(pinfo->cinfo, COL_INFO, NULL, "Heartbeat %s", type); } else { - col_append_str(pinfo->cinfo, COL_INFO, "Encrypted Heartbeat"); + col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Encrypted Heartbeat"); } if (type && decrypted) { |