Skip to content

ipmi_sel_set_time: fix strptime() return check #183

Merged

Conversation

PavelKiryukhin
Copy link
Contributor

The current behavior:

  • correct date format is not accepted by "sel time set".
  • incorrect date format that looks correct is accepted, but time is not
    set correctly.
  • commands like
    ipmitool sel time set "11/22/2013 trash"
    are accepted.

The current behavior:
- correct date format is not accepted by "sel time set".
- incorrect date format that looks correct is accepted, but time is not
  set correctly.
- commands like
    ipmitool sel time set "11/22/2013 trash"
  are accepted.
@PavelKiryukhin
Copy link
Contributor Author

Hi, is it possible to review this patch?
My company (Kontron) want it to be merged as upstream sel set time does not work w/o this commit.

Thank you,
Pavel Kiryukhin

@AlexanderAmelkin AlexanderAmelkin merged commit 284adfe into ipmitool:master May 22, 2020
@AlexanderAmelkin
Copy link
Contributor

Sorry for the delay.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants