diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-01-16 16:16:14 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-01-22 23:36:49 +0100 |
commit | 70d43f9c0523a380a8451808b344c34685296725 (patch) | |
tree | 1af05def153672b094738ba25d3663478573c21d /passt.c | |
parent | 15be1bfd81ed6d0b708e0541429f8813ce8d0972 (diff) | |
download | passt-70d43f9c0523a380a8451808b344c34685296725.tar passt-70d43f9c0523a380a8451808b344c34685296725.tar.gz passt-70d43f9c0523a380a8451808b344c34685296725.tar.bz2 passt-70d43f9c0523a380a8451808b344c34685296725.tar.lz passt-70d43f9c0523a380a8451808b344c34685296725.tar.xz passt-70d43f9c0523a380a8451808b344c34685296725.tar.zst passt-70d43f9c0523a380a8451808b344c34685296725.zip |
icmp: Share more between IPv4 and IPv6 paths in icmp_tap_handler()
Currently icmp_tap_handler() consists of two almost disjoint paths for the
IPv4 and IPv6 cases. The only thing they share is an error message.
We can use some intermediate variables to refactor this to share some more
code between those paths.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions