commit | 0b993fd4508b06ff9427ccd947d7813965155925 | [log] [tgz] |
---|---|---|
author | Rajashekar Gade Reddy <raja.sekhar.reddy.gade@linux.intel.com> | Tue Dec 24 16:37:15 2019 +0530 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Jan 07 19:16:21 2020 +0000 |
tree | f6e001a23964cd3be77944fc3a4b02e4e22eee5a | |
parent | ebc53cb165ea26aa48f0bbf01d9bce0e4abb0b7d [diff] |
Fix cc issue in setLan cmd for MAC addr parametr. Issue: set lan command for MAC address parameter returns invalid completion code for invalid MAC address. Fix: added proper conditional check. Tested: Note: While setting the mac addr using "ipmitool lan set 1 macaddr <mac_addr>" internaly tool valiadtes the completion code and shows generic error. Previouly the completion code is 0XFF(unspecified error) and now it returns 0xCC(Invalid data field in request). // setting mac addr to 00:00:00:00:00:00(invalid) ipmitool lan set 1 macaddr "00:00:00:00:00:00" Setting LAN MAC Address to 00:00:00:00:00:00 LAN Parameter Data does not match! Write may have failed. // setting mac addr to FF:FF:FF:FF:FF:FF(invalid) ipmitool lan set 1 macaddr "FF:FF:FF:FF:FF:FF" Setting LAN MAC Address to ff:ff:ff:ff:ff:ff LAN Parameter Data does not match! Write may have failed. // setting mac addr to "2a:6c:72:42:f3:a4"(valid) ipmitool lan set 1 macaddr "2a:6c:72:42:f3:a4" Setting LAN MAC Address to 2a:6c:72:42:f3:a4 Signed-off-by: Rajashekar Gade Reddy <raja.sekhar.reddy.gade@linux.intel.com> Change-Id: I4de54e68a7bb5ff2c64f515e40d06c59535825e5
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.