diff options
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; |