From 93eea18379d3a4eb66cfafb93efe80b342250896 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 3 Feb 2001 08:07:04 +0000 Subject: Use "pinfo", not "pi", to get packet info. svn path=/trunk/; revision=2984 --- packet-irc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packet-irc.c b/packet-irc.c index 5b3e325913..8a09ac5ffd 100644 --- a/packet-irc.c +++ b/packet-irc.c @@ -1,7 +1,7 @@ /* packet-irc.c - * Routines for MSX irc packet dissection + * Routines for IRC packet dissection * - * $Id: packet-irc.c,v 1.12 2001/02/03 07:58:27 guy Exp $ + * $Id: packet-irc.c,v 1.13 2001/02/03 08:07:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -87,7 +87,7 @@ dissect_irc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (check_col(pinfo->fd, COL_INFO)) { col_set_str(pinfo->fd, COL_INFO, - (pi.match_port == pi.destport) ? "Request" : "Response"); + (pinfo->match_port == pinfo->destport) ? "Request" : "Response"); } if (tree) @@ -115,7 +115,7 @@ dissect_irc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (linelen != 0) { - if (pi.match_port == pi.destport) + if (pinfo->match_port == pinfo->destport) { dissect_irc_request(irc_tree, tvb, offset, next_offset - offset, -- cgit v1.2.3