From 4f84947985d5a8f43f6f694055333af1e897de0e Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 25 May 2003 15:13:49 +0000 Subject: RIP has now "route-map x [in|out] " as well. --- vtysh/extract.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vtysh') diff --git a/vtysh/extract.pl b/vtysh/extract.pl index ca88cf7b..9a65f145 100755 --- a/vtysh/extract.pl +++ b/vtysh/extract.pl @@ -109,7 +109,11 @@ foreach (@ARGV) { } } if ($file =~ /if_rmap.c/) { - $protocol = "VTYSH_RIPNGD"; + if ($defun_array[1] =~ m/ipv6/) { + $protocol = "VTYSH_RIPNGD"; + } else { + $protocol = "VTYSH_RIPD"; + } } } else { ($protocol) = ($file =~ /\/([a-z0-9]+)/); -- cgit v1.2.1