aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hpsw.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-05 18:26:21 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2006-11-05 18:26:21 +0000
commit5c0c40464090627f3f1a5bc4ee1135d83a69152c (patch)
treeb8ab81364f561b9f70aaf3b36f0070b311d1871c /epan/dissectors/packet-hpsw.c
parent42eef791b6284b4fdfa69be581ebd8394c99cb42 (diff)
Add HP Switch Protocol SAP value
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19812 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-hpsw.c')
-rw-r--r--epan/dissectors/packet-hpsw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-hpsw.c b/epan/dissectors/packet-hpsw.c
index af1c13134d..678437e73e 100644
--- a/epan/dissectors/packet-hpsw.c
+++ b/epan/dissectors/packet-hpsw.c
@@ -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
@@ -257,12 +257,12 @@ proto_register_hpsw(void)
VALS(hpsw_tlv_type_vals), 0x0, "", HFILL }},
{ &hf_hpsw_tlvlength,
{ "Length", "hpsw.tlv_len", FT_UINT8, BASE_DEC,
- NULL, 0x0, "", HFILL }},
+ NULL, 0x0, "", HFILL }}
};
static gint *ett[] = {
&ett_hpsw,
- &ett_hpsw_tlv,
+ &ett_hpsw_tlv
};
proto_hpsw = proto_register_protocol( "HP Switch Protocol", "HPSW", "hpsw");
@@ -279,5 +279,5 @@ proto_reg_handoff_hpsw(void)
hpsw_handle = find_dissector("hpsw");
- dissector_add("hpext.dxsap", 0x0623, hpsw_handle);
+ dissector_add("hpext.dxsap", HPEXT_HPSW, hpsw_handle);
}