Make the determination if file is relative. (CID-1348040)

The code tries to show a file handle when the file is relative
to it, but doesn't actually make that determination. Extract the
relevant bit and use that to flag the relative file.

Change-Id: I7259c8843dc388b9dda96a73399a6da5575d3f5e
Petri-Dish: Anders Broman <>
Tested-by: Petri Dish Buildbot <>
Reviewed-by: Anders Broman <>
This commit is contained in:
Jaap Keuter 2016-06-09 08:04:04 +02:00 committed by Anders Broman
parent 0ccde30345
commit f928a5f5bf
1 changed files with 1 additions and 0 deletions

View File

@ -1787,6 +1787,7 @@ static void file_open(int offset, gboolean request, tvbuff_t *tvb, proto_tree* e
proto_tree_add_bitmask(ecmp_tree, tvb, offset, hf_ecmp_access_mode, ett_ecmp_access_mode, fields, ENC_BIG_ENDIAN);
relative = (tvb_get_guint8(tvb, offset) & 0x40) ? 1 : 0;
/*display additional scheme*/