summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/parsing
Commit message (Collapse)AuthorAgeFilesLines
* iptopt: fix crash with invalid field/type comboFlorian Westphal2021-12-071-0/+7
% nft describe ip option rr value segmentation fault after this fix, this exits with 'Error: unknown ip option type/field'. Problem is that 'rr' doesn't have a value template, so the template struct is all-zeroes, so we crash when trying to use tmpl->dtype (its NULL). Furthermore, expr_describe tries to print expr->identifier but expr is exthdr, not symbol: ->identifier contains garbage. Signed-off-by: Florian Westphal <fw@strlen.de>