diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-10-12 06:46:25 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-15 02:10:36 +0200 |
commit | abbe01af59549445fd4995fc3e724caae23dbe27 (patch) | |
tree | e64247c98030230e24f141669f2ccb5ca6720f41 /tap.c | |
parent | 57e2c066e92310ac630d8dacab9a78def3fb4ec0 (diff) | |
download | passt-abbe01af59549445fd4995fc3e724caae23dbe27.tar passt-abbe01af59549445fd4995fc3e724caae23dbe27.tar.gz passt-abbe01af59549445fd4995fc3e724caae23dbe27.tar.bz2 passt-abbe01af59549445fd4995fc3e724caae23dbe27.tar.lz passt-abbe01af59549445fd4995fc3e724caae23dbe27.tar.xz passt-abbe01af59549445fd4995fc3e724caae23dbe27.tar.zst passt-abbe01af59549445fd4995fc3e724caae23dbe27.zip |
icmp: Set sin6_scope_id for outbound ICMPv6 echo requests
If we ping a link-local address, we need to pass this to sendto(), as
it will obviously fail with -EINVAL otherwise.
If we ping other addresses, it's probably a good idea anyway to
specify the configured outbound interface here.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions