aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pgsql.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-04-19 21:05:22 +0200
committerMichael Mann <mmann78@netscape.net>2017-04-19 19:42:50 +0000
commit26cc3f06a7541578ed216ab37e8c07683f2e9b3a (patch)
treeecb8b799f45c0187440cee62bc5a50a80b6d6f8f /epan/dissectors/packet-pgsql.c
parent27da6380de478ed32a778d7f60618680046da8c7 (diff)
pqsql: add salt for GSSAPI
Change-Id: Iaab55d4c727b151687b242ad02d938164521e87c Reviewed-on: https://code.wireshark.org/review/21225 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-pgsql.c')
-rw-r--r--epan/dissectors/packet-pgsql.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-pgsql.c b/epan/dissectors/packet-pgsql.c
index 0b9c66b5a3..5ff7eda79b 100644
--- a/epan/dissectors/packet-pgsql.c
+++ b/epan/dissectors/packet-pgsql.c
@@ -379,6 +379,8 @@ static void dissect_pgsql_be_msg(guchar type, guint length, tvbuff_t *tvb,
n += 4;
siz = (i == 4 ? 2 : 4);
proto_tree_add_item(tree, hf_salt, tvb, n, siz, ENC_NA);
+ }else if (i == 8) {
+ proto_tree_add_item(tree, hf_salt, tvb, n, length-8, ENC_NA);
}
break;