From 8ced9fd5d95b8b75023ec4170c76385e9cc8b74c Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 9 Jan 2004 00:56:04 +0000 Subject: "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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9604 f5534014-38df-0310-8fa8-9805f1628bb7 --- packet-sdp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packet-sdp.c') diff --git a/packet-sdp.c b/packet-sdp.c index f1e31fd037..96afcdc86e 100644 --- a/packet-sdp.c +++ b/packet-sdp.c @@ -4,7 +4,7 @@ * Jason Lango * Liberally copied from packet-http.c, by Guy Harris * - * $Id: packet-sdp.c,v 1.42 2004/01/03 03:43:20 guy Exp $ + * $Id: packet-sdp.c,v 1.43 2004/01/09 00:56:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -371,7 +371,7 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if(rtp_handle){ 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); } } @@ -380,7 +380,7 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ipv4_port++; 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); } } -- cgit v1.2.3