diff options
-rw-r--r-- | networking/libiproute/iproute.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index d4437b923..ce2cd8b39 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -579,7 +579,9 @@ static int iproute_list_or_flush(char **argv, int flush) | |||
579 | filter.tb = 0; | 579 | filter.tb = 0; |
580 | else if (parm != KW_main) | 580 | else if (parm != KW_main) |
581 | invarg(*argv, "table"); | 581 | invarg(*argv, "table"); |
582 | } else if (arg == KW_cache) { // hmm is it valid - "ip r flush cache"? | 582 | } else if (arg == KW_cache) { |
583 | /* The command 'ip route flush cache' is used by OpenSWAN. | ||
584 | * Assuming it's a synonym for 'ip route flush table cache' */ | ||
583 | filter.tb = -1; | 585 | filter.tb = -1; |
584 | } else if (arg == KW_from) { | 586 | } else if (arg == KW_from) { |
585 | NEXT_ARG(); | 587 | NEXT_ARG(); |