Skip to content

lanp: Fix error response from Unsupported Parameter lookup #389

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dvanallen
Copy link

Return a pointer to the lan_param instead of NULL in the case when the parameter is not supported.

Resolves #388
Signed-off-by Daniel Van Allen dvanallen@google.com

osenft
osenft previously approved these changes Dec 21, 2022
@dvanallen dvanallen force-pushed the bugfix/388-fix-lanp-unsupported-param branch from 146e209 to 9d1247f Compare January 6, 2023 15:57
osenft
osenft previously approved these changes Jan 9, 2023
@osenft
Copy link

osenft commented Jan 9, 2023

Could you please add a few lines about the broken behavior w/o the fix, the expected behavior and which platform you tested this on?

@osenft
Copy link

osenft commented Jan 9, 2023

Could you please add a few lines about the broken behavior w/o the fix, the expected behavior and which platform you tested this on?

Oh, sorry, you have it in the issue #388. My bad.

@dvanallen
Copy link
Author

@AlexanderAmelkin please let me know if you'd like me to keep syncing this branch to master, I don't want to change it out from underneath you or make @osenft's review stale if you're actively trying to review it.

lib/ipmi_lanp.c Outdated Show resolved Hide resolved
@dvanallen dvanallen force-pushed the bugfix/388-fix-lanp-unsupported-param branch 2 times, most recently from 2e7ef48 to d816779 Compare January 11, 2023 16:33
Return a pointer to the lan_param instead of NULL in the case when the
parameter is not supported.

Resolves ipmitool#388
Signed-off-by Daniel Van Allen <dvanallen@google.com>
@dvanallen dvanallen force-pushed the bugfix/388-fix-lanp-unsupported-param branch from d816779 to a61349b Compare January 11, 2023 16:42
@rustydb
Copy link

rustydb commented Feb 15, 2023

Any updates on the outlook for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unsupported LAN Parameter lookup command returns an error
4 participants