diff options
author | Florian Westphal <fw@strlen.de> | 2016-08-01 17:11:41 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-08-01 17:11:41 +0200 |
commit | ca6fd0a94fc2d2c6d662b76c22ffaa4f3ffc7a1f (patch) | |
tree | 9f781495b0c96599ac4cb3c886013f1ed607d066 /include/expression.h | |
parent | a0ed637e76da3fe44eb34eb2ab91d72be2365411 (diff) |
payload: print base and raw values for unknown payloads
We currently print 'unknown' rather than the raw offset values
for unrecognized header values.
If its unknown, prefer to print
payload @nh,0,16 set payload @nh,0,16
rather than 'unknown'.
Also add a helper to check if payload expression has a description
assigned to it.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/expression.h')
0 files changed, 0 insertions, 0 deletions