summaryrefslogtreecommitdiff
path: root/vtysh/extract.pl.in
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-03 20:11:32 +0000
committerhasso <hasso>2004-10-03 20:11:32 +0000
commite7168df4eff0d377621c45deb32cfcfa72e0dd83 (patch)
tree86c4017761ffd8cfdbc16223915a9f537844c4f2 /vtysh/extract.pl.in
parenteef1fe11b89c5ec3c035ff6e4a9acfbc5780b539 (diff)
Big vtysh cleanup. See changelogs for details.
Diffstat (limited to 'vtysh/extract.pl.in')
-rwxr-xr-xvtysh/extract.pl.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 053b17e9..d2fc42ba 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -52,6 +52,11 @@ $ignore{'"key chain WORD"'} = "ignore";
$ignore{'"key <0-2147483647>"'} = "ignore";
$ignore{'"route-map WORD (deny|permit) <1-65535>"'} = "ignore";
$ignore{'"show route-map"'} = "ignore";
+$ignore{'"line vty"'} = "ignore";
+$ignore{'"who"'} = "ignore";
+$ignore{'"terminal monitor"'} = "ignore";
+$ignore{'"terminal no monitor"'} = "ignore";
+$ignore{'"show history"'} = "ignore";
foreach (@ARGV) {
$file = $_;
@@ -118,6 +123,9 @@ foreach (@ARGV) {
$protocol = "VTYSH_RIPD";
}
}
+ if ($file =~ /vty.c/) {
+ $protocol = "VTYSH_ALL";
+ }
} else {
($protocol) = ($file =~ /^.*\/([a-z0-9]+)\/[a-zA-Z0-9_\-]+\.c$/);
$protocol = "VTYSH_" . uc $protocol;