diff options
author | hasso <hasso> | 2003-05-25 15:13:49 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-05-25 15:13:49 +0000 |
commit | 4f84947985d5a8f43f6f694055333af1e897de0e (patch) | |
tree | a27dd6e338687e6da837d8a7ac27f46ee0c35bcc /vtysh | |
parent | 16705130a1c842f7de252779514e4e7f92d967e2 (diff) |
RIP has now "route-map x [in|out] <interface>" as well.
Diffstat (limited to 'vtysh')
-rwxr-xr-x | vtysh/extract.pl | 6 |
1 files changed, 5 insertions, 1 deletions
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]+)/); |