diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2017-10-26 19:42:55 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-11-09 13:20:11 +0100 |
commit | 32828cc4fb241aca01913424aa1781af0acd6aee (patch) | |
tree | d65b8b229fdb2e7a8148f6265a7c1451004c085a /lib/speedcheck.h | |
parent | b78dce252681a96d5f7123bfcd2f5d843e7c175c (diff) |
--interface: add support for Linux VRF
The --interface command (CURLOPT_INTERFACE option) already uses
SO_BINDTODEVICE on Linux, but it tries to parse it as an interface or IP
address first, which fails in case the user passes a VRF.
Try to use the socket option immediately and parse it as a fallback
instead. Update the documentation to mention this feature, and that it
requires the binary to be ran by root or with CAP_NET_RAW capabilities
for this to work.
Closes #2024
Diffstat (limited to 'lib/speedcheck.h')
0 files changed, 0 insertions, 0 deletions