summaryrefslogtreecommitdiffstats
path: root/src/payload.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-06-15 18:01:49 +0200
committerFlorian Westphal <fw@strlen.de>2021-06-17 01:12:46 +0200
commit9a5574e2d4e9c9cb5d6382be03a7eccfa8663a15 (patch)
tree1034daf5753e31bb01d01099ebeea9ee318b2f4d /src/payload.c
parentb4060b2e5649d920ee40b27038a89569cf9e0f85 (diff)
netlink_delinearize: add missing icmp id/sequence support
Pablo reports following input and output: in: icmpv6 id 1 out: icmpv6 type { echo-request, echo-reply } icmpv6 parameter-problem 65536/16 Reason is that icmp fields overlap, decoding of the correct name requires check of the icmpv6 type. This only works for equality tests, for instance in: icmpv6 type echo-request icmpv6 id 1 will be listed as "icmpv6 id 1" (which is not correct either, since the input only matches on echo-request). with this patch, output of 'icmpv6 id 1' is icmpv6 type { echo-request, echo-reply } icmpv6 id 1 The second problem, the removal of a single check (request OR reply), is resolved in the followup patch. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/payload.c')
0 files changed, 0 insertions, 0 deletions