diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-10-21 05:52:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-10-21 05:52:28 +0000 |
commit | 563f86ee5eab280006171dbd7fdb411715594355 (patch) | |
tree | 616003167e713e2f88482dfdd46c1869d68eb308 /packet-rtcp.c | |
parent | 183e9cbf25933dcd9abc8db485f5308459f192b2 (diff) | |
download | wireshark-563f86ee5eab280006171dbd7fdb411715594355.tar.gz wireshark-563f86ee5eab280006171dbd7fdb411715594355.tar.bz2 wireshark-563f86ee5eab280006171dbd7fdb411715594355.zip |
Support for conversations with "wildcard" destination addresses, from
Jeff Foster.
svn path=/trunk/; revision=2523
Diffstat (limited to 'packet-rtcp.c')
-rw-r--r-- | packet-rtcp.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/packet-rtcp.c b/packet-rtcp.c index dfa5c73f50..5096caa3d6 100644 --- a/packet-rtcp.c +++ b/packet-rtcp.c @@ -201,13 +201,14 @@ void rtcp_add_address( const unsigned char* ip_addr, int prt ) * Check if the ip address and port 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*) rtcp_proto ); + conversation_new( &src_addr, &fake_addr, PT_UDP, (guint32) prt, + (guint32) 0, (void*) rtcp_proto, 0 ); } } @@ -239,11 +240,14 @@ dissect_rtcp_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 + * 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; } } |