From: Ondrej Zajicek Date: Mon, 15 Aug 2011 00:12:54 +0000 (+0200) Subject: Removes workaround related to import of kernel device routes. X-Git-Tag: v1.4.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65194bd1eb2e6af217a750fa1e02b6eea66c7130;p=thirdparty%2Fbird.git Removes workaround related to import of kernel device routes. Thanks to Benjamin Cama for notification. --- diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index 08dc11b6e..df9ed6220 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -862,19 +862,6 @@ nl_parse_route(struct nlmsghdr *h, int scan) else { ra.dest = RTD_DEVICE; - - /* - * In Linux IPv6, 'native' device routes have proto - * RTPROT_BOOT and not RTPROT_KERNEL (which they have in - * IPv4 and which is expected). We cannot distinguish - * 'native' and user defined device routes, so we ignore all - * such device routes and for consistency, we have the same - * behavior in IPv4. Anyway, users should use RTPROT_STATIC - * for their 'alien' routes. - */ - - if (i->rtm_protocol == RTPROT_BOOT) - src = KRT_SRC_KERNEL; } break;