summaryrefslogtreecommitdiffstats
path: root/src/proto.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-07-02 09:42:30 +0200
committerPatrick McHardy <kaber@trash.net>2014-07-10 12:21:50 +0200
commit74ba8966a7706a23f89184b6de68d1546e0bba44 (patch)
treed9a1189f70bbaeac4653146611b109604c438a46 /src/proto.c
parentccf47494f9ec7c7a8188466cc1dbc170b8dceed0 (diff)
evaluate: fix concat expressions as map arguments
The type in the evaluation context needs to be reset to avoid treating the concatenation as a right hand side relational expression. # nft filter output mark set ip daddr . tcp dport map { 192.168.0.1 . 22 : 1 } <cmdline>:1:24-43: Error: datatype mismatch, expected packet mark, expression has type concatenation of (IPv4 address, internet network service) filter output mark set ip daddr . tcp dport map { 192.168.0.1 . 22 : 1 } ^^^^^^^^^^^^^^^^^^^^ Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/proto.c')
0 files changed, 0 insertions, 0 deletions