mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
When metadata is at newer version than the highest supported, return
EOPNOTSUPP when decoding. MFC after: 3 days
This commit is contained in:
parent
79e6fcac83
commit
e880ff0062
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ eli_metadata_decode(const u_char *data, struct g_eli_metadata *md)
|
|||
error = eli_metadata_decode_v1v2v3v4v5v6(data, md);
|
||||
break;
|
||||
default:
|
||||
error = EINVAL;
|
||||
error = EOPNOTSUPP;
|
||||
break;
|
||||
}
|
||||
return (error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue