]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- ip r get fix
authorareq <areq@pld-linux.org>
Wed, 25 Aug 2010 13:16:59 +0000 (13:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2-ip_route_get.patch -> 1.1

iproute2-ip_route_get.patch [new file with mode: 0644]

diff --git a/iproute2-ip_route_get.patch b/iproute2-ip_route_get.patch
new file mode 100644 (file)
index 0000000..4e8facc
--- /dev/null
@@ -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) {
This page took 0.030097 seconds and 4 git commands to generate.