diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-03 04:56:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-03 04:56:46 +0000 |
commit | 541af0c740275aa5104328a727ca7c1ebe8c2a69 (patch) | |
tree | 1243cf363092206a1a50c7212ed84fee958369b1 /packet-ipx.c | |
parent | cef26010874fe8214b2ef9d8df4dc109818469ae (diff) | |
download | wireshark-541af0c740275aa5104328a727ca7c1ebe8c2a69.tar.gz wireshark-541af0c740275aa5104328a727ca7c1ebe8c2a69.tar.bz2 wireshark-541af0c740275aa5104328a727ca7c1ebe8c2a69.zip |
Use the "pinfo" argument, rather than the global "pi", to refer to the
packet information in tvbuffified dissectors.
svn path=/trunk/; revision=3645
Diffstat (limited to 'packet-ipx.c')
-rw-r--r-- | packet-ipx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-ipx.c b/packet-ipx.c index 3b7a786cf2..96e5870b96 100644 --- a/packet-ipx.c +++ b/packet-ipx.c @@ -2,7 +2,7 @@ * Routines for NetWare's IPX * Gilbert Ramirez <gram@xiexie.org> * - * $Id: packet-ipx.c,v 1.87 2001/06/29 09:46:52 guy Exp $ + * $Id: packet-ipx.c,v 1.88 2001/07/03 04:56:45 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -229,10 +229,10 @@ dissect_ipx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) src_net_node = tvb_get_ptr(tvb, 18, 10); dst_net_node = tvb_get_ptr(tvb, 6, 10); - SET_ADDRESS(&pi.net_src, AT_IPX, 10, src_net_node); - SET_ADDRESS(&pi.src, AT_IPX, 10, src_net_node); - SET_ADDRESS(&pi.net_dst, AT_IPX, 10, dst_net_node); - SET_ADDRESS(&pi.dst, AT_IPX, 10, dst_net_node); + SET_ADDRESS(&pinfo->net_src, AT_IPX, 10, src_net_node); + SET_ADDRESS(&pinfo->src, AT_IPX, 10, src_net_node); + SET_ADDRESS(&pinfo->net_dst, AT_IPX, 10, dst_net_node); + SET_ADDRESS(&pinfo->dst, AT_IPX, 10, dst_net_node); if (check_col(pinfo->fd, COL_INFO)) col_add_fstr(pinfo->fd, COL_INFO, "%s (0x%04X)", |