summaryrefslogtreecommitdiffstats
path: root/lib/types/types.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2019-11-20 12:32:02 +0800
committerJeremy Kerr <jk@ozlabs.org>2020-01-23 09:02:43 +0800
commitb2e5a7b63eb46e3ff268c8f781d8f590d09c6a02 (patch)
treed1846886117e5888d434815cfaf4d9250f0b3186 /lib/types/types.h
parent6ee9cbcb1bd6ef9fbf1a56322e3fe2fa2646159c (diff)
downloadtalos-petitboot-b2e5a7b63eb46e3ff268c8f781d8f590d09c6a02.tar.gz
talos-petitboot-b2e5a7b63eb46e3ff268c8f781d8f590d09c6a02.zip
lib/types: consolidate struct system_info layout with serialised version
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>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r--lib/types/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index 433a37b..22fa337 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -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
OpenPOWER on IntegriCloud