diff options
-rw-r--r-- | epan/dissectors/packet-pgsql.c | 2 |
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; |