summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-25 15:13:49 +0000
committerhasso <hasso>2003-05-25 15:13:49 +0000
commit4f84947985d5a8f43f6f694055333af1e897de0e (patch)
treea27dd6e338687e6da837d8a7ac27f46ee0c35bcc /vtysh
parent16705130a1c842f7de252779514e4e7f92d967e2 (diff)
RIP has now "route-map x [in|out] <interface>" as well.
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl6
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]+)/);