diff options
Diffstat (limited to 'op-mode-definitions/ipv4-route.xml.in')
-rw-r--r-- | op-mode-definitions/ipv4-route.xml.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/op-mode-definitions/ipv4-route.xml.in b/op-mode-definitions/ipv4-route.xml.in index e4dda2851..41a4b62ba 100644 --- a/op-mode-definitions/ipv4-route.xml.in +++ b/op-mode-definitions/ipv4-route.xml.in @@ -63,12 +63,6 @@ <help>Reset IP route</help> </properties> <children> - <leafNode name= "cache"> - <properties> - <help>Flush the kernel route cache</help> - </properties> - <command>ip route flush cache</command> - </leafNode> <tagNode name="cache"> <properties> <help>Flush the kernel route cache for a given route</help> @@ -76,6 +70,10 @@ <list><x.x.x.x> <x.x.x.x/x></list> </completionHelp> </properties> + <standalone> + <help>Flush the kernel route cache</help> + <command>ip route flush cache</command> + </standalone> <command>ip route flush cache "$5"</command> </tagNode> </children> |