Add HP Switch Protocol SAP value
[obnox/wireshark/wip.git] / epan / dissectors / packet-hpext.c
index 8a461e028babad7b201a551aca200be66ddc2bc2..4b30da18cbe86cb6eb34af288deee3ec97923ce1 100644 (file)
@@ -4,8 +4,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
@@ -20,7 +20,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -30,8 +30,8 @@
 #include <glib.h>
 #include <epan/packet.h>
 #include <epan/xdlc.h>
-#include "etypes.h"
-#include "llcsaps.h"
+#include <epan/etypes.h>
+#include <epan/llcsaps.h>
 #include "packet-hpext.h"
 
 static dissector_table_t subdissector_table;
@@ -48,6 +48,7 @@ static gint ett_hpext = -1;
 const value_string xsap_vals[] = {
        { HPEXT_DXSAP,  "RBOOT Destination Service Access Point" },
        { HPEXT_SXSAP,  "RBOOT Source Service Access Point" },
+       { HPEXT_HPSW,   "HP Switch Protocol" },
        { HPEXT_SNMP,   "SNMP" },
        { 0x00,         NULL }
 };
@@ -102,10 +103,10 @@ proto_register_hpext(void)
 
                { &hf_hpext_sxsap,
                { "SXSAP", "hpext.sxsap", FT_UINT16, BASE_HEX,
-                       VALS(xsap_vals), 0x0, "", HFILL }},
+                       VALS(xsap_vals), 0x0, "", HFILL }}
        };
        static gint *ett[] = {
-               &ett_hpext,
+               &ett_hpext
        };
 
        proto_hpext = proto_register_protocol(