diff options
author | paul <paul> | 2003-04-19 15:55:08 +0000 |
---|---|---|
committer | paul <paul> | 2003-04-19 15:55:08 +0000 |
commit | ba23a6919378933d9502ac15dcb2c13231be2663 (patch) | |
tree | 32912b4cfa74db9a58fa418b647ad1a90cc63269 /vtysh/extract.pl | |
parent | 41ce926cb4c0eb7fc07aed25c0452793fc054fc5 (diff) |
Hasso Tepper
http://hasso.linux.ee/zebra/ht-distribute-18042003.patch
Allows to extract.pl to pickup "distribute-list ..." commands for vtysh
(ripngd and ripd).
Diffstat (limited to 'vtysh/extract.pl')
-rwxr-xr-x | vtysh/extract.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vtysh/extract.pl b/vtysh/extract.pl index 91c817b4..8f2dcb9d 100755 --- a/vtysh/extract.pl +++ b/vtysh/extract.pl @@ -101,6 +101,13 @@ foreach (@ARGV) { $protocol = "VTYSH_RIPD|VTYSH_BGPD"; } } + if ($file =~ /distribute.c/) { + if ($defun_array[1] =~ m/ipv6/) { + $protocol = "VTYSH_RIPNGD"; + } else { + $protocol = "VTYSH_RIPD"; + } + } } else { ($protocol) = ($file =~ /\/([a-z0-9]+)/); $protocol = "VTYSH_" . uc $protocol; |