diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-06-07 13:50:07 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-08-27 06:25:34 -0400 |
| commit | d528c02a204086da0d542d5655b8724de681a65c (patch) | |
| tree | 6bf6249fd1b5c775b01f4f15e16c4f9722889414 /zebra/rt_netlink.c | |
| parent | bdfccf69fa128c51c45bbd3528788f72ac17d854 (diff) | |
zebra: Handle kernel routes appropriately
Current code intentionally ignores kernel routes. Modify
zebra to allow these routes to be read in on linux. Also
modify zebra to look to see if a route should be treated
as a connected and mark it as such.
Additionally this should properly handle some of the issues
being seen with NOPREFIXROUTE.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/rt_netlink.c')
| -rw-r--r-- | zebra/rt_netlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index c22145be69..ddcb83cd8c 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -799,8 +799,6 @@ int netlink_route_change_read_unicast_internal(struct nlmsghdr *h, return 0; if (rtm->rtm_protocol == RTPROT_REDIRECT) return 0; - if (rtm->rtm_protocol == RTPROT_KERNEL) - return 0; selfroute = is_selfroute(rtm->rtm_protocol); |
