interfaces: Only use `ifr_ifindex` if OS supports it
This fixes compilation on e.g. macOS and FreeBSD, where it is missing.
Showing
Please register or sign in to comment
This fixes compilation on e.g. macOS and FreeBSD, where it is missing.