From 482e8e565125cc8f595aa80e8ba08299f9c410fe Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 2 Oct 2014 17:47:19 -0400 Subject: Add editor modelines & adjust indentation/whitespace as needed. Change-Id: Ice2d93632cd42dfcef3bfbf0e15f2a8a147278fc Reviewed-on: https://code.wireshark.org/review/4433 Reviewed-by: Bill Meier --- epan/dissectors/packet-extreme.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'epan/dissectors/packet-extreme.c') diff --git a/epan/dissectors/packet-extreme.c b/epan/dissectors/packet-extreme.c index 43113aabb5..384acf9945 100644 --- a/epan/dissectors/packet-extreme.c +++ b/epan/dissectors/packet-extreme.c @@ -277,9 +277,9 @@ static gint ett_edp_null = -1; #define PROTO_LONG_NAME "Extreme Discovery Protocol" static const value_string extreme_pid_vals[] = { - { 0x00bb, "EDP" }, + { 0x00bb, "EDP" }, - { 0, NULL } + { 0, NULL } }; static const value_string esrp_proto_vals[] = { @@ -965,7 +965,7 @@ dissect_edp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint16 tlv_length; guint16 data_length; guint16 seqno; - vec_t cksum_vec[1]; + vec_t cksum_vec[1]; col_set_str(pinfo->cinfo, COL_PROTOCOL, PROTO_SHORT_NAME); col_set_str(pinfo->cinfo, COL_INFO, PROTO_SHORT_NAME ":"); @@ -1450,7 +1450,7 @@ proto_register_edp(void) { &hf_edp_null, { "End", "edp.null", FT_PROTOCOL, BASE_NONE, NULL, 0x0, "Last element", HFILL }}, - }; + }; static gint *ett[] = { &ett_edp, &ett_edp_checksum, @@ -1495,11 +1495,24 @@ void proto_register_extreme_oui(void) { static hf_register_info hf[] = { - { &hf_llc_extreme_pid, - { "PID", "llc.extreme_pid", FT_UINT16, BASE_HEX, - VALS(extreme_pid_vals), 0x0, NULL, HFILL } - } + { &hf_llc_extreme_pid, + { "PID", "llc.extreme_pid", FT_UINT16, BASE_HEX, + VALS(extreme_pid_vals), 0x0, NULL, HFILL } + } }; llc_add_oui(OUI_EXTREME, "llc.extreme_pid", "LLC Extreme OUI PID", hf); } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ -- cgit v1.2.1