mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
zfs_keys_nextboot array is missing ZPOOL_CONFIG_POOL_GUID and ZPOOL_CONFIG_GUID
As we do check the incomint nvlist, we either need to list all possible keys or use wildcard. PR: 248462 Reported by: larafercue@gmail.com Sponsored by: Netflix, Klara Inc.
This commit is contained in:
parent
c085d2ea97
commit
491ceb65ec
1 changed files with 3 additions and 1 deletions
|
|
@ -3656,7 +3656,9 @@ zfs_ioc_log_history(const char *unused, nvlist_t *innvl, nvlist_t *outnvl)
|
|||
|
||||
#ifdef __FreeBSD__
|
||||
static const zfs_ioc_key_t zfs_keys_nextboot[] = {
|
||||
{"command", DATA_TYPE_STRING, 0},
|
||||
{"command", DATA_TYPE_STRING, 0},
|
||||
{ZPOOL_CONFIG_POOL_GUID, DATA_TYPE_UINT64, 0},
|
||||
{ZPOOL_CONFIG_GUID, DATA_TYPE_UINT64, 0}
|
||||
};
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue