mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 3609985 - delloem : Wrong MAC returned when flex addressing is enabled
Commit fixes problem in 'lib/ipmi_delloem.c'. Command % ipmitool delloem mac; returns wrong MAC when flex addressing is enabled on the blade chassis. Commit for Krishnaprasad K
This commit is contained in:
parent
d27d2f7ae3
commit
ad01921281
@ -153,6 +153,7 @@ typedef struct _lcd_mode
|
|||||||
} __attribute__ ((packed)) LCD_MODE;
|
} __attribute__ ((packed)) LCD_MODE;
|
||||||
|
|
||||||
#define PARAM_REV_OFFSET (uint8_t)(0x1)
|
#define PARAM_REV_OFFSET (uint8_t)(0x1)
|
||||||
|
#define VIRTUAL_MAC_OFFSET (uint8_t)(0x1)
|
||||||
|
|
||||||
#define LOM_MACTYPE_ETHERNET 0
|
#define LOM_MACTYPE_ETHERNET 0
|
||||||
#define LOM_MACTYPE_ISCSI 1
|
#define LOM_MACTYPE_ISCSI 1
|
||||||
|
@ -1494,7 +1494,6 @@ InitEmbeddedNICMacAddressValues()
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t UseVirtualMacAddress = 0;
|
uint8_t UseVirtualMacAddress = 0;
|
||||||
#define VIRTUAL_MAC_OFFSET (2)
|
|
||||||
static int
|
static int
|
||||||
ipmi_macinfo_drac_idrac_virtual_mac(struct ipmi_intf* intf,uint8_t NicNum)
|
ipmi_macinfo_drac_idrac_virtual_mac(struct ipmi_intf* intf,uint8_t NicNum)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user