summaryrefslogtreecommitdiffstats
path: root/lib/types
diff options
context:
space:
mode:
authorJack Miller <jack@codezen.org>2015-12-09 12:03:24 -0600
committerJack Miller <jack@codezen.org>2015-12-15 12:33:48 -0600
commitcecbe53013e9ed85fd5b2429c230759d59025644 (patch)
tree06e2cab4d15486b4fbd663411228d80d4d71989c /lib/types
parent2983a122b09ace8de8be19a3e3566aa5deb09b81 (diff)
downloadtalos-petitboot-cecbe53013e9ed85fd5b2429c230759d59025644.tar.gz
talos-petitboot-cecbe53013e9ed85fd5b2429c230759d59025644.zip
Add BMC interface MAC to system info output
Useful for identifying the initial BMC traffic on the network. Signed-off-by: Jack Miller <jack@codezen.org>
Diffstat (limited to 'lib/types')
-rw-r--r--lib/types/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index 6a2c258..702b6f5 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -93,6 +93,7 @@ struct blockdev_info {
struct system_info {
char *type;
char *identifier;
+ uint8_t *bmc_mac;
struct interface_info **interfaces;
unsigned int n_interfaces;
struct blockdev_info **blockdevs;
OpenPOWER on IntegriCloud