summaryrefslogtreecommitdiff
path: root/vtysh/extract.pl.in
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-13 08:47:32 +0000
committerhasso <hasso>2004-10-13 08:47:32 +0000
commit43fb1352a1cc9ef05ac7124d18099ed6f8c3986a (patch)
treea55e49a7aad13e427d4a08e2c88537053e1640a4 /vtysh/extract.pl.in
parentc729c65010a11f011ebae654fa1a8444c7443c10 (diff)
All access lists (IPv4 and IPv6) are used by all daemons to limit access to
vty.
Diffstat (limited to 'vtysh/extract.pl.in')
-rwxr-xr-xvtysh/extract.pl.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index d2fc42ba..ef8c34ff 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -96,11 +96,7 @@ foreach (@ARGV) {
$protocol = "VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD";
}
if ($file =~ /filter.c/) {
- if ($defun_array[1] =~ m/ipv6/) {
- $protocol = "VTYSH_ZEBRA|VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD";
- } else {
- $protocol = "VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD";
- }
+ $protocol = "VTYSH_ALL";
}
if ($file =~ /plist.c/) {
if ($defun_array[1] =~ m/ipv6/) {