forked from osmocom/wireshark
couchbase: Decode XATTRs in payload of DCP_EXPIRATION & DCP_PREPARE
Both of these opcodes can have XATTRs present in the binary encoding. Add them to the set of opcodes for which we decode XATTRs. Change-Id: Iee09c720dc4306b8e9c4ebb07673b2709f079a24 Reviewed-on: https://code.wireshark.org/review/37597 Reviewed-by: Ben Huddleston <ben.huddleston@couchbase.com> Reviewed-by: Jim Walker <jim@couchbase.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
d065fe022e
commit
bc3f3b3e09
|
@ -2321,6 +2321,7 @@ dissect_value(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
|||
}
|
||||
} else if ((datatype & DT_XATTR) && (opcode == PROTOCOL_BINARY_CMD_SET_WITH_META ||
|
||||
opcode == PROTOCOL_BINARY_DCP_MUTATION || opcode == PROTOCOL_BINARY_DCP_DELETION ||
|
||||
opcode == PROTOCOL_BINARY_DCP_EXPIRATION || opcode == PROTOCOL_BINARY_DCP_PREPARE ||
|
||||
opcode == PROTOCOL_BINARY_CMD_DEL_WITH_META || opcode == PROTOCOL_BINARY_CMD_ADD_WITH_META ||
|
||||
opcode == PROTOCOL_BINARY_CMD_SETQ_WITH_META || opcode == PROTOCOL_BINARY_CMD_DELQ_WITH_META ||
|
||||
opcode == PROTOCOL_BINARY_CMD_ADDQ_WITH_META )) {
|
||||
|
|
Loading…
Reference in New Issue