diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-12-08 01:31:38 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-27 19:29:45 +0100 |
commit | 24d1f6570b0b4ca09535d15d07511addc1e9c40f (patch) | |
tree | 116d66c79cfb8c600ffbc3189ee347639429bcb9 /test/passt.mbuto | |
parent | b9f4314ef9e7dc8b2852430f6923cbedda46ae38 (diff) | |
download | passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.tar passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.tar.gz passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.tar.bz2 passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.tar.lz passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.tar.xz passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.tar.zst passt-24d1f6570b0b4ca09535d15d07511addc1e9c40f.zip |
icmp: Avoid unnecessary handling of unspecified bind address
We go to some trouble, if the configured output address is unspecified, to
pass NULL to sock_l4(). But while passing NULL is one way to get sock_l4()
not to specify a bind address, passing the "any" address explicitly works
too. Use this to simplify icmp_tap_handler().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/passt.mbuto')
0 files changed, 0 insertions, 0 deletions