/* 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.14 2001/06/18 02:17:47 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
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)
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,
{ &hf_irc_response,
{ "Response", "irc.response",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
- "TRUE if IRC response" }},
+ "TRUE if IRC response", HFILL }},
{ &hf_irc_request,
{ "Request", "irc.request",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
- "TRUE if IRC request" }},
+ "TRUE if IRC request", HFILL }},
{ &hf_irc_command,
{ "Command", "irc.command",
FT_STRING, BASE_NONE, NULL, 0x0,
- "Command associated with request" }}
+ "Command associated with request", HFILL }}
};
static gint *ett[] = {