Skip to content

Commit

Permalink
lib/types: consolidate struct system_info layout with serialised version
Browse files Browse the repository at this point in the history
We currently serialise the BMC MAC at the end of a system info message,
so update struct system_info to suit.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
  • Loading branch information
jk-ozlabs committed Jan 23, 2020
1 parent 6ee9cbc commit b2e5a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/types.h
Expand Up @@ -133,11 +133,11 @@ struct system_info {
char **bmc_golden;
unsigned int n_bmc_current;
unsigned int n_bmc_golden;
uint8_t *bmc_mac;
struct interface_info **interfaces;
unsigned int n_interfaces;
struct blockdev_info **blockdevs;
unsigned int n_blockdevs;
uint8_t *bmc_mac;
};

#define HWADDR_SIZE 6
Expand Down

0 comments on commit b2e5a7b

Please sign in to comment.