summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bogons/nft-f/zero_length_devicename_assert
Commit message (Collapse)AuthorAgeFilesLines
* parser: reject zero-length interface namesFlorian Westphal2023-06-201-0/+5
device "" results in an assertion during evaluation. Before: nft: expression.c:426: constant_expr_alloc: Assertion `(((len) + (8) - 1) / (8)) > 0' failed. After: zero_length_devicename_assert:3:42-49: Error: you cannot set an empty interface name type filter hook ingress device""lo" priority -1 ^^^^^^^^ Signed-off-by: Florian Westphal <fw@strlen.de>