Remove "text2pcap-scanner.obj" and "tools\lemon\lemon.obj" when a "nmake
[obnox/wireshark/wip.git] / packet-irc.c
index 5b3e325913e3a14639652062e13978d24e5c446c..2a4b821a9663eb99c714d8b73a16c9d9218ecc2a 100644 (file)
@@ -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.14 2001/06/18 02:17:47 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,
@@ -140,17 +140,17 @@ proto_register_irc(void)
          { &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[] = {