aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipmi-session.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-06-02 18:57:35 -0400
committerBill Meier <wmeier@newsguy.com>2014-06-03 01:35:40 +0000
commitfae972606761d0169342f906cf25e510e9e2ca49 (patch)
tree5f64c01362808a260782fd9c5e080050531efd61 /epan/dissectors/packet-ipmi-session.c
parent3bf635b0cce9499fa7727967456c613b44a745cf (diff)
packet-ipmi...: Various cleanups:
- refs to value_strings in hf[] entries, by convention, should use VALS macro; - add editor-modelines as needed; Fix some indentation. Change-Id: Iaa0196bab6de066ed68a2755b69b07fadd33e498 Reviewed-on: https://code.wireshark.org/review/1927 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-ipmi-session.c')
-rw-r--r--epan/dissectors/packet-ipmi-session.c55
1 files changed, 34 insertions, 21 deletions
diff --git a/epan/dissectors/packet-ipmi-session.c b/epan/dissectors/packet-ipmi-session.c
index 1c72aeb2c9..b3f6e403ad 100644
--- a/epan/dissectors/packet-ipmi-session.c
+++ b/epan/dissectors/packet-ipmi-session.c
@@ -77,36 +77,36 @@ static const value_string ipmi_authtype_vals[] = {
#define IPMI_OEM_EXPLICIT 2
static const value_string ipmi_payload_vals[] = {
- { IPMI_IPMI_MESSAGE, "IPMI Message" },
- { 0x01, "SOL (serial over LAN)" },
- { IPMI_OEM_EXPLICIT, "OEM Explicit" },
+ { IPMI_IPMI_MESSAGE, "IPMI Message" },
+ { 0x01, "SOL (serial over LAN)" },
+ { IPMI_OEM_EXPLICIT, "OEM Explicit" },
/* Session Setup Payload Types */
- { 0x10, "RMCP+ Open Session Request" },
- { 0x11, "RMCP+ Open Session Response" },
- { 0x12, "RAKP Message 1" },
- { 0x13, "RAKP Message 2" },
- { 0x14, "RAKP Message 3" },
- { 0x15, "RAKP Message 4" },
+ { 0x10, "RMCP+ Open Session Request" },
+ { 0x11, "RMCP+ Open Session Response" },
+ { 0x12, "RAKP Message 1" },
+ { 0x13, "RAKP Message 2" },
+ { 0x14, "RAKP Message 3" },
+ { 0x15, "RAKP Message 4" },
/* OEM Payload Type Handles */
- { 0x20, "OEM0 (OEM Payload)" },
- { 0x21, "OEM1 (OEM Payload)" },
- { 0x22, "OEM2 (OEM Payload)" },
- { 0x23, "OEM3 (OEM Payload)" },
- { 0x24, "OEM4 (OEM Payload)" },
- { 0x25, "OEM5 (OEM Payload)" },
- { 0x26, "OEM6 (OEM Payload)" },
- { 0x27, "OEM7 (OEM Payload)" },
+ { 0x20, "OEM0 (OEM Payload)" },
+ { 0x21, "OEM1 (OEM Payload)" },
+ { 0x22, "OEM2 (OEM Payload)" },
+ { 0x23, "OEM3 (OEM Payload)" },
+ { 0x24, "OEM4 (OEM Payload)" },
+ { 0x25, "OEM5 (OEM Payload)" },
+ { 0x26, "OEM6 (OEM Payload)" },
+ { 0x27, "OEM7 (OEM Payload)" },
{ 0x00, NULL }
};
static const true_false_string ipmi_payload_aut_val = {
- "Payload is authenticated",
- "Payload is unauthenticated"
+ "Payload is authenticated",
+ "Payload is unauthenticated"
};
static const true_false_string ipmi_payload_enc_val = {
- "Payload is encrypted",
- "Payload is unencrypted"
+ "Payload is encrypted",
+ "Payload is unencrypted"
};
static int
@@ -321,3 +321,16 @@ proto_reg_handoff_ipmi_session(void)
data_handle = find_dissector("data");
ipmi_handle = find_dissector("ipmi");
}
+
+/*
+ * 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:
+ */