KRT: Allow to learn routes with RTPROT_KERNEL
The Kernel protocol, even with the option 'learn' enabled, ignores direct routes created by the OS kernel (on Linux these are routes with rtm_protocol == RTPROT_KERNEL). Implement optional behavior where both OS kernel and third-party routes are learned, it can be enabled by 'learn all' option. Minor changes by committer.
Showing
- doc/bird.sgml 6 additions, 5 deletionsdoc/bird.sgml
- sysdep/linux/netlink.c 1 addition, 1 deletionsysdep/linux/netlink.c
- sysdep/unix/krt.Y 7 additions, 1 deletionsysdep/unix/krt.Y
- sysdep/unix/krt.c 10 additions, 3 deletionssysdep/unix/krt.c
- sysdep/unix/krt.h 4 additions, 0 deletionssysdep/unix/krt.h
Loading