applying fix for:
0000203: 'ip route flush cache' not implemented
This commit is contained in:
parent
77ee52333c
commit
5dc0ceeb9e
@ -537,6 +537,15 @@ static int iproute_list_or_flush(int argc, char **argv, int flush)
|
|||||||
} else if (matches(*argv, "match") == 0) {
|
} else if (matches(*argv, "match") == 0) {
|
||||||
NEXT_ARG();
|
NEXT_ARG();
|
||||||
get_prefix(&filter.mdst, *argv, do_ipv6);
|
get_prefix(&filter.mdst, *argv, do_ipv6);
|
||||||
|
} else if (matches(*argv, "table") == 0) {
|
||||||
|
NEXT_ARG();
|
||||||
|
if (matches(*argv, "cache") == 0) {
|
||||||
|
filter.tb = -1;
|
||||||
|
} else if (matches(*argv, "main") != 0) {
|
||||||
|
invarg("invalid \"table\"", *argv);
|
||||||
|
}
|
||||||
|
} else if (matches(*argv, "cache") == 0) {
|
||||||
|
filter.tb = -1;
|
||||||
} else {
|
} else {
|
||||||
if (matches(*argv, "exact") == 0) {
|
if (matches(*argv, "exact") == 0) {
|
||||||
NEXT_ARG();
|
NEXT_ARG();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user