commit | 4f84947985d5a8f43f6f694055333af1e897de0e | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Sun May 25 15:13:49 2003 +0000 |
committer | hasso <hasso> | Sun May 25 15:13:49 2003 +0000 |
tree | a27dd6e338687e6da837d8a7ac27f46ee0c35bcc | |
parent | 16705130a1c842f7de252779514e4e7f92d967e2 [diff] |
RIP has now "route-map x [in|out] <interface>" as well.
diff --git a/vtysh/extract.pl b/vtysh/extract.pl index ca88cf7..9a65f14 100755 --- a/vtysh/extract.pl +++ b/vtysh/extract.pl
@@ -109,7 +109,11 @@ } } 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]+)/);