diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-10-21 05:52:28 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-10-21 05:52:28 +0000 |
commit | 4fd23a5c542a39e3e55781c0fa42ae9258f40533 (patch) | |
tree | 616003167e713e2f88482dfdd46c1869d68eb308 /packet-rtp.c | |
parent | e404f03da9dd268ee7f9b961255059807ebfccd5 (diff) |
Support for conversations with "wildcard" destination addresses, from
Jeff Foster.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2523 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rtp.c')
-rw-r--r-- | packet-rtp.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/packet-rtp.c b/packet-rtp.c index 6f6008b6ac..a4a564684f 100644 --- a/packet-rtp.c +++ b/packet-rtp.c @@ -172,13 +172,14 @@ void rtp_add_address( const unsigned char* ip_addr, int prt ) * Check if the ip address an dport combination is not * already registered */ - pconv = find_conversation( &src_addr, &fake_addr, PT_UDP, prt, 0 ); + pconv = find_conversation( &src_addr, &fake_addr, PT_UDP, prt, 0, 0 ); /* * If not, add */ if ( ! pconv ) { - conversation_new( &src_addr, &fake_addr, PT_UDP, (guint32) prt, (guint32) 0, ( void * ) rtp_proto ); + conversation_new( &src_addr, &fake_addr, PT_UDP, (guint32) prt, + (guint32) 0, ( void * ) rtp_proto, 0 ); } } @@ -209,11 +210,13 @@ dissect_rtp_heur( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) * So we first check if the frame is really meant for us. */ conversation_t* pconv; - if ( ( pconv = find_conversation( &pi.src, &fake_addr, pi.ptype, pi.srcport, 0 ) ) == NULL ) { + if ( ( pconv = find_conversation( &pi.src, &fake_addr, pi.ptype, + pi.srcport, 0, 0 ) ) == NULL ) { /* * The source ip:port combination was not what we were looking for, check the destination */ - if ( ( pconv = find_conversation( &pi.dst, &fake_addr, pi.ptype, pi.destport, 0 ) ) == NULL ) { + if ( ( pconv = find_conversation( &pi.dst, &fake_addr, + pi.ptype, pi.destport, 0, 0 ) ) == NULL ) { return FALSE; } } |