diff options
Diffstat (limited to 'epan/dissectors/packet-mip6.c')
-rw-r--r-- | epan/dissectors/packet-mip6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mip6.c b/epan/dissectors/packet-mip6.c index 33c29bdac6..225113958a 100644 --- a/epan/dissectors/packet-mip6.c +++ b/epan/dissectors/packet-mip6.c @@ -3148,7 +3148,7 @@ dissect_mipv6_options(tvbuff_t *tvb, int offset, guint length, } else { ti = proto_tree_add_text(opt_tree, tvb, offset, len + 2, "%s", val_to_str_ext_const(opt, &mip6_mobility_options_ext, "<unknown>")); - if (*optp->subtree_index) { + if (optp && *optp->subtree_index) { opt_data_tree = proto_item_add_subtree(ti, *optp->subtree_index); } proto_tree_add_item(opt_data_tree, hf_mip6_mobility_opt, tvb, offset, 1, ENC_BIG_ENDIAN); |