ip route: add comment, no code changes
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 27 Nov 2007 09:42:33 +0000 (09:42 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 27 Nov 2007 09:42:33 +0000 (09:42 -0000)
networking/libiproute/iproute.c

index d4437b923971ec39e223bf3ee57c64234f13b982..ce2cd8b396cc34996c49df2f7000b86edbf44db6 100644 (file)
@@ -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();