commit | 4e02b431f1cf316c12eec1cc085ba105d3c48b33 | [log] [tgz] |
---|---|---|
author | Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Thu Jul 13 13:50:40 2023 +0000 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Jul 18 20:09:40 2023 +0000 |
tree | b32cec16ccebb1455345976319ddda5c4937a28a | |
parent | 6fb31495b819f79a387ee182743304f4cc37c2cc [diff] |
Fix for Subnet Mask update User unable to update Subnet Mask and getting error as Unspecified error. The existing condition is only evaluating the IP Address and not evaluating the Subnet Mask. This is preventing user to update subnet mask. Update the condition to consider the case of setting subnet mask as well. Tested: verified by executing set Lan configuration IPMI command Before fix: Command : ipmitool raw 0x0C 0x01 0x03 0x06 0xFF 0xFF 0xFE 0x00 Response: Unable to send RAW command (channel=0x0 netfn=0xc lun=0x0 cmd=0x1 rsp=0xff): Unspecified error After fix: Command : ipmitool raw 0x0C 0x01 0x03 0x06 0xFF 0xFF 0xFE 0x00 Response: //Success Command : ipmitool lan print 3 Response: Set in Progress : Set Complete Auth Type Support : Auth Type Enable : Callback : : User : : Operator : : Admin : : OEM : IP Address Source : Static Address IP Address : 10.xxx.xx.xx Subnet Mask : 255.255.254.0 MAC Address : 00:xx:xx:xx:xx:xx Default Gateway IP : 10.xxx.xxx.1 Default Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled RMCP+ Cipher Suites : 17 Cipher Suite Priv Max : aaaaaaaaaaaaaaa : X=Cipher Suite Unused : c=CALLBACK : u=USER : o=OPERATOR : a=ADMIN : O=OEM Bad Password Threshold : Not Available Signed-off-by: athuljox <athulx.joseph@intel.com> Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Change-Id: I6fbb9d0377ba03d7dc8296c7b4e29d73bdc99981
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage