[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Wed Oct 19 16:52:19 EEST 2022


New commits:
commit e69404ac52f9dab9daf34c76c3246317e5db7f10
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Oct 19 07:58:03 2022 -0400

    ikev1: in dpd_outI() use monotime_max()
    
    Replace the double negative:
    -       monotime_t last = !monobefore(p1st->st_last_dpd, st->st_last_dpd) ?
    -               p1st->st_last_dpd : st->st_last_dpd;
    Per comment: ??? the code actually picks the most recent.
    (monotime_max() is a new function)



More information about the Swan-commit mailing list