summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2019-02-09 20:21:33 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2019-02-09 23:10:15 +0530
commitdc3e8b92c894fdd6648e385565c10b1778bc79dc (patch)
treea22496fcda3a3c9a7f32c4a348ec5d3a2beba1da
parent7f268e4daa41598610fbd0926b44a3584f527479 (diff)
downloadphosphor-net-ipmid-dc3e8b92c894fdd6648e385565c10b1778bc79dc.tar.gz
phosphor-net-ipmid-dc3e8b92c894fdd6648e385565c10b1778bc79dc.zip
Fix the order of fields in Get Channel Auth Capabilities command
Change-Id: Ifd2542725d7e14e96b05b0eded9a5e6d0062d73e Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
-rw-r--r--command/channel_auth.hpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/command/channel_auth.hpp b/command/channel_auth.hpp
index aea1dc8..9f2abe1 100644
--- a/command/channel_auth.hpp
+++ b/command/channel_auth.hpp
@@ -57,31 +57,31 @@ struct GetChannelCapabilitiesResp
#endif
#if BYTE_ORDER == LITTLE_ENDIAN
- // Two key login status . only for IPMI V2.0 RMCP+ RAKP
- uint8_t KGStatus : 1;
- uint8_t perMessageAuth : 1; // Per-message authentication support
- uint8_t userAuth : 1; // User - level authentication status
- // Anonymous login status for non_null usernames enabled/disabled
- uint8_t nonNullUsers : 1;
- // Anonymous login status for null user names enabled/disabled
- uint8_t nullUsers : 1;
// Anonymous login status for anonymous login enabled/disabled
uint8_t anonymousLogin : 1;
+ // Anonymous login status for null usernames enabled/disabled
+ uint8_t nullUsers : 1;
+ // Anonymous login status for non-null usernames enabled/disabled
+ uint8_t nonNullUsers : 1;
+ uint8_t userAuth : 1; // User level authentication status
+ uint8_t perMessageAuth : 1; // Per-message authentication support
+ // Two key login status . only for IPMI V2.0 RMCP+ RAKP
+ uint8_t KGStatus : 1;
uint8_t reserved3 : 2;
#endif
#if BYTE_ORDER == BIG_ENDIAN
uint8_t reserved3 : 2;
- // Anonymous login status for anonymous login enabled/disabled
- uint8_t anonymousLogin : 1;
- // Anonymous login status for null user names enabled/disabled
- uint8_t nullUsers : 1;
- // Anonymous login status for non_null usernames enabled/disabled
- uint8_t nonNullUsers : 1;
- uint8_t userAuth : 1; // User - level authentication status
- uint8_t perMessageAuth : 1; // Per-message authentication support
// Two key login status . only for IPMI V2.0 RMCP+ RAKP
uint8_t KGStatus : 1;
+ uint8_t perMessageAuth : 1; // Per-message authentication support
+ uint8_t userAuth : 1; // User level authentication status
+ // Anonymous login status for non-null usernames enabled/disabled
+ uint8_t nonNullUsers : 1;
+ // Anonymous login status for null usernames enabled/disabled
+ uint8_t nullUsers : 1;
+ // Anonymous login status for anonymous login enabled/disabled
+ uint8_t anonymousLogin : 1;
#endif
#if BYTE_ORDER == LITTLE_ENDIAN
OpenPOWER on IntegriCloud