diff options
author | Paul Fox <pgf@brightstareng.com> | 2005-07-20 19:01:05 +0000 |
---|---|---|
committer | Paul Fox <pgf@brightstareng.com> | 2005-07-20 19:01:05 +0000 |
commit | 5dc0ceeb9ef753722de9e47d6e6284897d69b664 (patch) | |
tree | 5b045718839a44d1e8a2a748ea65827bb0447a61 | |
parent | 77ee52333c9bf64540752459101972fbeef539f8 (diff) | |
download | busybox-w32-5dc0ceeb9ef753722de9e47d6e6284897d69b664.tar.gz busybox-w32-5dc0ceeb9ef753722de9e47d6e6284897d69b664.tar.bz2 busybox-w32-5dc0ceeb9ef753722de9e47d6e6284897d69b664.zip |
applying fix for:
0000203: 'ip route flush cache' not implemented
-rw-r--r-- | networking/libiproute/iproute.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 9c57140a5..fabab5b7a 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -537,6 +537,15 @@ static int iproute_list_or_flush(int argc, char **argv, int flush) | |||
537 | } else if (matches(*argv, "match") == 0) { | 537 | } else if (matches(*argv, "match") == 0) { |
538 | NEXT_ARG(); | 538 | NEXT_ARG(); |
539 | get_prefix(&filter.mdst, *argv, do_ipv6); | 539 | get_prefix(&filter.mdst, *argv, do_ipv6); |
540 | } else if (matches(*argv, "table") == 0) { | ||
541 | NEXT_ARG(); | ||
542 | if (matches(*argv, "cache") == 0) { | ||
543 | filter.tb = -1; | ||
544 | } else if (matches(*argv, "main") != 0) { | ||
545 | invarg("invalid \"table\"", *argv); | ||
546 | } | ||
547 | } else if (matches(*argv, "cache") == 0) { | ||
548 | filter.tb = -1; | ||
540 | } else { | 549 | } else { |
541 | if (matches(*argv, "exact") == 0) { | 550 | if (matches(*argv, "exact") == 0) { |
542 | NEXT_ARG(); | 551 | NEXT_ARG(); |