Created
June 20, 2020 17:34
-
-
Save RealityAnomaly/1e1dc193ac7ea72691e6d2dc685fd5e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c | |
index f85bcf35..d10fa415 100644 | |
--- a/sysdep/linux/netlink.c | |
+++ b/sysdep/linux/netlink.c | |
@@ -1527,6 +1527,11 @@ nl_parse_route(struct nl_parse_state *s, struct nlmsghdr *h) | |
if (!(i = nl_checkin(h, sizeof(*i)))) | |
return; | |
+ /* Always skip FIB exception routes */ | |
+ if (i->rtm_flags & RTM_F_CLONED) { | |
+ return; | |
+ } | |
+ | |
switch (i->rtm_family) | |
{ | |
case AF_INET: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment