Netlink: Handle onlink flag on BSD-Netlink
On BSD, the onlink flag is not tracked or reported by kernel. We are using an heuristic that assigns the onlink flag to routes scanned from the kernel. We should use the same heuristic even in BSD-Netlink case, as the onlink flag is not reported here too. Thanks to Björn König for the original patch.
Showing
- sysdep/bsd/krt-sock.c 0 additions, 24 deletionssysdep/bsd/krt-sock.c
- sysdep/cf/README 1 addition, 0 deletionssysdep/cf/README
- sysdep/cf/bsd-netlink.h 1 addition, 0 deletionssysdep/cf/bsd-netlink.h
- sysdep/cf/bsd.h 1 addition, 0 deletionssysdep/cf/bsd.h
- sysdep/linux/netlink.c 10 additions, 0 deletionssysdep/linux/netlink.c
- sysdep/unix/krt.c 24 additions, 0 deletionssysdep/unix/krt.c
- sysdep/unix/krt.h 1 addition, 0 deletionssysdep/unix/krt.h
Loading
Please register or sign in to comment