Hasso Tepper
http://hasso.linux.ee/zebra/ht-distribute-18042003.patch
Allows to extract.pl to pickup "distribute-list ..." commands for vtysh
(ripngd and ripd).
diff --git a/vtysh/extract.pl b/vtysh/extract.pl
index 91c817b..8f2dcb9 100755
--- a/vtysh/extract.pl
+++ b/vtysh/extract.pl
@@ -101,6 +101,13 @@
$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;