diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-03-28 13:25:42 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-03-29 10:32:10 +0200 |
commit | ff0f30e35db56da4282a477df0f334ce636915ba (patch) | |
tree | 7f759c4564a671c2ebc1c05ad8bcead82e3bff95 /src/datatype.c | |
parent | 60f5c10713d664d316dc87b29518feaef29b9a6f (diff) |
expression: typeof verdict needs verdict datatype
Otherwise listing breaks showing [invalid type] notice.
# nft list ruleset
table inet x {
map y {
typeof ip saddr : verdict
elements = { 1.1.1.1 : 0x1010101 [invalid type] }
}
}
Update tests to cover this usecase.
Fixes: 4ab1e5e60779 ("src: allow use of 'verdict' in typeof definitions")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/datatype.c')
0 files changed, 0 insertions, 0 deletions