diff options
author | AndersBroman <anders.broman@ericsson.com> | 2016-11-09 15:47:59 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-11-09 16:42:32 +0000 |
commit | b688175834c8ab302abb108df19c63f7a075c458 (patch) | |
tree | 7a6617b9e253bd8ae67942ebc42ddd60508488c3 | |
parent | d6e35b1a4728676efc4030182492e8376bdcc3e4 (diff) | |
download | wireshark-b688175834c8ab302abb108df19c63f7a075c458.tar.gz |
[SIP] Use call_dissector_only() to call the diagnostics dissector.
While there correct a typo.
Change-Id: I58f9f4353e1fb4155d4f4f77f0f93325940d291f
Reviewed-on: https://code.wireshark.org/review/18722
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index 70636759c3..ff30f5efd7 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -4398,7 +4398,7 @@ dfilter_sip_status_line(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gin /* Add response code for sending to tap */ stat_info->response_code = response_code; - /* Skip past the responce code and possible trailing space */ + /* Skip past the response code and possible trailing space */ offset = offset + 3 + 1; /* Check for diagnostics */ @@ -4409,7 +4409,7 @@ dfilter_sip_status_line(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, gin /* If we have a SIP diagnostics sub dissector call it */ if(sip_diag_handle){ next_tvb = tvb_new_subset_length(tvb, offset, diag_len); - call_dissector(sip_diag_handle, next_tvb, pinfo, tree); + call_dissector_only(sip_diag_handle, next_tvb, pinfo, tree, NULL); } } |