diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-02-03 08:07:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-02-03 08:07:04 +0000 |
commit | 93eea18379d3a4eb66cfafb93efe80b342250896 (patch) | |
tree | 4986dc004cb3ddd4de49c056ddddba1664c65776 /packet-irc.c | |
parent | 64af6d155c8e634ddfde08da2e78b26c037fdcfc (diff) |
Use "pinfo", not "pi", to get packet info.
svn path=/trunk/; revision=2984
Diffstat (limited to 'packet-irc.c')
-rw-r--r-- | packet-irc.c | 8 |
1 files 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 <gerald@zing.org> @@ -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, |