Fix a bug that when getting/dumping the soft lifetime we reported
the hard lifetime instead. MFC after: 3 days
This commit is contained in:
parent
fdcc0789fb
commit
44c92dbb34
@ -3376,7 +3376,7 @@ key_setdumpsa(sav, type, satype, seq, pid)
|
||||
case SADB_EXT_LIFETIME_SOFT:
|
||||
if (!sav->lft_s)
|
||||
continue;
|
||||
m = key_setlifetime(sav->lft_h,
|
||||
m = key_setlifetime(sav->lft_s,
|
||||
SADB_EXT_LIFETIME_SOFT);
|
||||
|
||||
if (!m)
|
||||
|
Loading…
Reference in New Issue
Block a user