* [bug] nft asserts with invalid expr_range_value key
@ 2025-03-13 8:49 Florian Westphal
2025-03-13 8:53 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Florian Westphal @ 2025-03-13 8:49 UTC (permalink / raw)
To: netfilter-devel
nft -f -<<EOF
table ip x {
map y {
type ipv4_addr : ipv4_addr
elements = { 1.168.0.4 }
}
map y {
type ipv4_addr : ipv4_addr
flags interval
elements = { 10.141.3.0/24 : 192.8.0.3 }
}
}
EOF
BUG: invalid data expression type range_value
Q: Whats the intended behaviour here?
Should this be rejected (first y lacks interval flag)?
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [bug] nft asserts with invalid expr_range_value key
2025-03-13 8:49 [bug] nft asserts with invalid expr_range_value key Florian Westphal
@ 2025-03-13 8:53 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2025-03-13 8:53 UTC (permalink / raw)
To: Florian Westphal; +Cc: netfilter-devel
On Thu, Mar 13, 2025 at 09:49:09AM +0100, Florian Westphal wrote:
> nft -f -<<EOF
> table ip x {
> map y {
> type ipv4_addr : ipv4_addr
> elements = { 1.168.0.4 }
> }
>
> map y {
> type ipv4_addr : ipv4_addr
> flags interval
> elements = { 10.141.3.0/24 : 192.8.0.3 }
> }
> }
> EOF
> BUG: invalid data expression type range_value
>
> Q: Whats the intended behaviour here?
>
> Should this be rejected (first y lacks interval flag)?
Reject because flags interval is lacking.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-13 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 8:49 [bug] nft asserts with invalid expr_range_value key Florian Westphal
2025-03-13 8:53 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.