]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/busybox/busybox-1.00/iproute-flush-cache.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / busybox / busybox-1.00 / iproute-flush-cache.patch
1 Index: networking/libiproute/iproute.c
2 ===================================================================
3 RCS file: /var/cvs/busybox/networking/libiproute/iproute.c,v
4 retrieving revision 1.14
5 diff -u -r1.14 iproute.c
6 --- networking/libiproute/iproute.c     11 Aug 2004 08:10:58 -0000      1.14
7 +++ networking/libiproute/iproute.c     30 Nov 2004 20:43:44 -0000
8 @@ -537,6 +537,15 @@
9                         } else if (matches(*argv, "match") == 0) {
10                                 NEXT_ARG();
11                                 get_prefix(&filter.mdst, *argv, do_ipv6);
12 +                       } else if (matches(*argv, "table") == 0) {
13 +                               NEXT_ARG();
14 +                               if (matches(*argv, "cache") == 0) {
15 +                                       filter.tb = -1;
16 +                               } else if (matches(*argv, "main") != 0) {
17 +                                       invarg("invalid \"table\"", *argv);
18 +                               }
19 +                       } else if (matches(*argv, "cache") == 0) {
20 +                               filter.tb = -1;
21                         } else {
22                                 if (matches(*argv, "exact") == 0) {
23                                         NEXT_ARG();