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-portmap.c | |
parent | 2357e3c90c620cbab9a8da0c2e50e99bd4a9cfeb (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-portmap.c')
-rw-r--r-- | packet-portmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-portmap.c b/packet-portmap.c index 4463acf12b..ce5aa72dee 100644 --- a/packet-portmap.c +++ b/packet-portmap.c @@ -1,7 +1,7 @@ /* packet-portmap.c * Routines for portmap dissection * - * $Id: packet-portmap.c,v 1.41 2002/11/01 00:48:38 sahlberg Exp $ + * $Id: packet-portmap.c,v 1.42 2004/01/09 00:56:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -125,7 +125,7 @@ dissect_getport_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, conversation_t *conv; conv=find_conversation(&pinfo->src, &pinfo->dst, (port_type)rpc_call->private_data, port, 0, NO_ADDR_B|NO_PORT_B); if(!conv){ - conv=conversation_new(&pinfo->src, &pinfo->dst, (port_type)rpc_call->private_data, port, 0, NO_ADDR_B|NO_PORT_B); + conv=conversation_new(&pinfo->src, &pinfo->dst, (port_type)rpc_call->private_data, port, 0, NO_ADDR2|NO_PORT2); } conversation_set_dissector(conv, rpc_handle); } |