diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-09 00:56:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-09 00:56:04 +0000 |
commit | 9758b3928d2cb51a1bb9b2b1ab1fd4952280216e (patch) | |
tree | 4a94b50d1ed9012464fbb7f467e73af892a1fd12 /packet-sdp.c | |
parent | 2357e3c90c620cbab9a8da0c2e50e99bd4a9cfeb (diff) | |
download | wireshark-9758b3928d2cb51a1bb9b2b1ab1fd4952280216e.tar.gz wireshark-9758b3928d2cb51a1bb9b2b1ab1fd4952280216e.tar.bz2 wireshark-9758b3928d2cb51a1bb9b2b1ab1fd4952280216e.zip |
"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-sdp.c')
-rw-r--r-- | packet-sdp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <jal@netapp.com> * Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu> * - * $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 <gerald@ethereal.com> @@ -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); } } |