diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-05-12 18:11:02 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-05-12 18:11:02 +0000 |
commit | 85a8e304ddeb73c54ad7e86271d67543484645c9 (patch) | |
tree | 1cc041f936dcdb3e5e95946361b0c75f71cd31ac /epan/dissectors/packet-synphasor.c | |
parent | f2ccdd6dbf1143374e62bc645a703870f2106719 (diff) |
Add the posibillity to use a key for per-packet-data.
svn path=/trunk/; revision=49259
Diffstat (limited to 'epan/dissectors/packet-synphasor.c')
-rw-r--r-- | epan/dissectors/packet-synphasor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-synphasor.c b/epan/dissectors/packet-synphasor.c index f243799317..66bd34b540 100644 --- a/epan/dissectors/packet-synphasor.c +++ b/epan/dissectors/packet-synphasor.c @@ -555,7 +555,7 @@ static void dissect_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (conversation) { config_frame *conf = (config_frame *)conversation_get_proto_data(conversation, proto_synphasor); /* no problem if 'conf' is NULL, the DATA frame dissector checks this again */ - p_add_proto_data(pinfo->fd, proto_synphasor, conf); + p_add_proto_data(pinfo->fd, proto_synphasor, 0, conf); } } } /* if (!visited) */ @@ -794,7 +794,7 @@ static int dissect_data_frame(tvbuff_t *tvb, /* search for configuration information to dissect the frame */ { gboolean config_found = FALSE; - conf = (config_frame *)p_get_proto_data(pinfo->fd, proto_synphasor); + conf = (config_frame *)p_get_proto_data(pinfo->fd, proto_synphasor, 0); if (conf) { /* check if the size of the current frame is the |