aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-10-21 05:52:28 +0000
committerGuy Harris <guy@alum.mit.edu>2000-10-21 05:52:28 +0000
commit563f86ee5eab280006171dbd7fdb411715594355 (patch)
tree616003167e713e2f88482dfdd46c1869d68eb308 /packet-rtp.c
parent183e9cbf25933dcd9abc8db485f5308459f192b2 (diff)
Support for conversations with "wildcard" destination addresses, from
Jeff Foster. svn path=/trunk/; revision=2523
Diffstat (limited to 'packet-rtp.c')
-rw-r--r--packet-rtp.c11
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;
}
}