aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-27 09:42:33 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-27 09:42:33 +0000
commit79c6904faff1ebd4bf4b7d9cd0c20ca70f4cec75 (patch)
treee99a1234ea091d365304d7b18a4886dfa2523559 /networking/libiproute/iproute.c
parent186c2b3d0e5b248bc20d62d0f49f536c8ebf2461 (diff)
downloadbusybox-79c6904faff1ebd4bf4b7d9cd0c20ca70f4cec75.tar.gz
ip route: add comment, no code changes
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r--networking/libiproute/iproute.c4
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)
filter.tb = 0;
else if (parm != KW_main)
invarg(*argv, "table");
- } else if (arg == KW_cache) { // hmm is it valid - "ip r flush cache"?
+ } else if (arg == KW_cache) {
+ /* The command 'ip route flush cache' is used by OpenSWAN.
+ * Assuming it's a synonym for 'ip route flush table cache' */
filter.tb = -1;
} else if (arg == KW_from) {
NEXT_ARG();