forked from osmocom/wireshark
Get rid of remaining Booleans-as-encoding-arguments in
proto_tree_add_bitmask() calls. svn path=/trunk/; revision=42568
This commit is contained in:
parent
32ec3275bd
commit
25917db46e
|
@ -880,7 +880,7 @@ dissect_epsem(tvbuff_t *tvb, int offset, guint32 len, packet_info *pinfo, proto_
|
|||
}
|
||||
/* parse the flags byte which is always unencrypted */
|
||||
flags = tvb_get_guint8(tvb, offset);
|
||||
proto_tree_add_bitmask(tree, tvb, offset, hf_c1222_epsem_flags, ett_c1222_flags, c1222_flags, FALSE);
|
||||
proto_tree_add_bitmask(tree, tvb, offset, hf_c1222_epsem_flags, ett_c1222_flags, c1222_flags, ENC_BIG_ENDIAN);
|
||||
offset++;
|
||||
switch ((flags & C1222_EPSEM_FLAG_SECURITY_MODE) >> 2) {
|
||||
case EAX_MODE_CIPHERTEXT_AUTH:
|
||||
|
|
|
@ -925,7 +925,7 @@ dissect_epsem(tvbuff_t *tvb, int offset, guint32 len, packet_info *pinfo, proto_
|
|||
}
|
||||
/* parse the flags byte which is always unencrypted */
|
||||
flags = tvb_get_guint8(tvb, offset);
|
||||
proto_tree_add_bitmask(tree, tvb, offset, hf_c1222_epsem_flags, ett_c1222_flags, c1222_flags, FALSE);
|
||||
proto_tree_add_bitmask(tree, tvb, offset, hf_c1222_epsem_flags, ett_c1222_flags, c1222_flags, ENC_BIG_ENDIAN);
|
||||
offset++;
|
||||
switch ((flags & C1222_EPSEM_FLAG_SECURITY_MODE) >> 2) {
|
||||
case EAX_MODE_CIPHERTEXT_AUTH:
|
||||
|
|
Loading…
Reference in New Issue