diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-07-30 17:10:20 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-07-30 17:10:20 +0000 |
commit | 7c4cca3e63903940fc98f3f967159fe0453e2590 (patch) | |
tree | 9141381476f1dee0a9a8c6e27f458c07e70ab926 /epan/tcap-persistentdata.c | |
parent | 9636fdfefd44bd4105c893928a6f4359e68c9fe0 (diff) | |
download | wireshark-7c4cca3e63903940fc98f3f967159fe0453e2590.tar.gz wireshark-7c4cca3e63903940fc98f3f967159fe0453e2590.tar.bz2 wireshark-7c4cca3e63903940fc98f3f967159fe0453e2590.zip |
From Florent Drouin:
Correct bug in TCAP statistics when read filter is used.
Rename the TCAP decoding functions to show which are ITU vs. ANSI.
Don't unregister an ITU SSN if it's used by an ANSI subdissector.
svn path=/trunk/; revision=22421
Diffstat (limited to 'epan/tcap-persistentdata.c')
-rw-r--r-- | epan/tcap-persistentdata.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/tcap-persistentdata.c b/epan/tcap-persistentdata.c index 9e7deebaf3..c84880ffcd 100644 --- a/epan/tcap-persistentdata.c +++ b/epan/tcap-persistentdata.c @@ -965,7 +965,12 @@ tcapsrt_call_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, struct tcapsrt_info_t *p_tcapsrt_info) { struct tcaphash_context_t *tcap_context=NULL; - + + /* if this packet isn't loaded because of a read filter, don't output anything */ + if(pinfo == NULL || pinfo->fd->num == 0) { + return NULL; + } + switch (p_tcapsrt_info->ope) { case TC_BEGIN: |