packages: iproute2/iproute2-ip_route_get.patch (NEW) - ip r get fix
areq
areq at pld-linux.org
Wed Aug 25 15:17:06 CEST 2010
Author: areq Date: Wed Aug 25 13:17:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- ip r get fix
---- Files affected:
packages/iproute2:
iproute2-ip_route_get.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/iproute2/iproute2-ip_route_get.patch
diff -u /dev/null packages/iproute2/iproute2-ip_route_get.patch:1.1
--- /dev/null Wed Aug 25 15:17:06 2010
+++ packages/iproute2/iproute2-ip_route_get.patch Wed Aug 25 15:16:59 2010
@@ -0,0 +1,12 @@
+diff -ur iproute2-2.6.35.org/ip/iproute.c iproute2-2.6.35/ip/iproute.c
+--- iproute2-2.6.35.org/ip/iproute.c 2010-08-04 17:45:59.000000000 +0000
++++ iproute2-2.6.35/ip/iproute.c 2010-08-25 12:57:40.000000000 +0000
+@@ -160,7 +160,7 @@
+ if (r->rtm_family == AF_INET6 && table != RT_TABLE_MAIN)
+ ip6_multiple_tables = 1;
+
+- if (filter.cloned == !(r->rtm_flags&RTM_F_CLONED))
++ if (filter.cloned && !(r->rtm_flags&RTM_F_CLONED))
+ return 0;
+
+ if (r->rtm_family == AF_INET6 && !ip6_multiple_tables) {
================================================================
More information about the pld-cvs-commit
mailing list