From e7168df4eff0d377621c45deb32cfcfa72e0dd83 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 3 Oct 2004 20:11:32 +0000 Subject: Big vtysh cleanup. See changelogs for details. --- vtysh/extract.pl.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vtysh/extract.pl.in') 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; -- cgit v1.2.1