aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h245.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-09 00:56:04 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-09 00:56:04 +0000
commit9758b3928d2cb51a1bb9b2b1ab1fd4952280216e (patch)
tree4a94b50d1ed9012464fbb7f467e73af892a1fd12 /packet-h245.c
parent2357e3c90c620cbab9a8da0c2e50e99bd4a9cfeb (diff)
"conversation_new()" takes flags NO_ADDR2 and NO_PORT2, not NO_ADDR_B
and NO_PORT_B - the corresponding flags have the same values, but they don't have the same semantics (a "find_conversation()" call with a missing address or port B will do a wildcard match on *both* addresses or ports, not just the second one). svn path=/trunk/; revision=9604
Diffstat (limited to 'packet-h245.c')
-rw-r--r--packet-h245.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-h245.c b/packet-h245.c
index 034ce6fda5..67e77a8bba 100644
--- a/packet-h245.c
+++ b/packet-h245.c
@@ -7,7 +7,7 @@
*
* Maintained by Andreas Sikkema (andreas.sikkema@philips.com)
*
- * $Id: packet-h245.c,v 1.42 2003/11/22 11:12:19 sahlberg Exp $
+ * $Id: packet-h245.c,v 1.43 2004/01/09 00:56:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -14376,7 +14376,7 @@ dissect_h245_mediaChannel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t
conv=find_conversation(&src_addr, &src_addr, PT_UDP, ipv4_port, ipv4_port, NO_ADDR_B|NO_PORT_B);
if(!conv){
- conv=conversation_new(&src_addr, &src_addr, PT_UDP, ipv4_port, ipv4_port, NO_ADDR_B|NO_PORT_B);
+ conv=conversation_new(&src_addr, &src_addr, PT_UDP, ipv4_port, ipv4_port, NO_ADDR2|NO_PORT2);
conversation_set_dissector(conv, rtp_handle);
}
}
@@ -14400,7 +14400,7 @@ dissect_h245_mediaControlChannel(tvbuff_t *tvb, int offset, packet_info *pinfo,
conv=find_conversation(&src_addr, &src_addr, PT_UDP, ipv4_port, ipv4_port, NO_ADDR_B|NO_PORT_B);
if(!conv){
- conv=conversation_new(&src_addr, &src_addr, PT_UDP, ipv4_port, ipv4_port, NO_ADDR_B|NO_PORT_B);
+ conv=conversation_new(&src_addr, &src_addr, PT_UDP, ipv4_port, ipv4_port, NO_ADDR2|NO_PORT2);
conversation_set_dissector(conv, rtcp_handle);
}
}