aboutsummaryrefslogtreecommitdiffstats
path: root/packet-socks.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-11-21 23:16:26 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-11-21 23:16:26 +0000
commit8743a4a8a7613095d833e380744a358b7074b0c8 (patch)
treefdf1228846948ec5e1c08b7b50f1d81d1f379ffc /packet-socks.c
parentbd90493d46399161487bb21997af3e6450c5425d (diff)
Remove the global packet_info called "pi". Dissectors now only
access their own "pinfo". A packet_info is stored in epan_dissect_t, which is created for the dissection of a single packet. GUI functions which need to access the packet_info of the currently selected packet used to use "pi"; now they use cfile.edt->pi. cfile's "edt" member is the epan_dissect_t of the currently-selected packet. The functionality of blank_packetinfo() was moved into dissect_packet(), as that's the only place that called blank_packetinfo(), after a spurious call to blank_packetinfo() was removed from packet_list_select_cb(). svn path=/trunk/; revision=4246
Diffstat (limited to 'packet-socks.c')
-rw-r--r--packet-socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-socks.c b/packet-socks.c
index 60b4bbf78f..0509708f72 100644
--- a/packet-socks.c
+++ b/packet-socks.c
@@ -2,7 +2,7 @@
* Routines for socks versions 4 &5 packet dissection
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet-socks.c,v 1.27 2001/10/31 05:59:18 guy Exp $
+ * $Id: packet-socks.c,v 1.28 2001/11/21 23:16:21 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -404,7 +404,7 @@ socks_udp_dissector(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
*ptr = hash_info->udp_remote_port;
- decode_udp_ports( tvb, offset, &pi, tree, pinfo->srcport, pinfo->destport);
+ decode_udp_ports( tvb, offset, pinfo, tree, pinfo->srcport, pinfo->destport);
*ptr = hash_info->udp_port;