summaryrefslogtreecommitdiffstats
path: root/vtysh/extract.pl
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-24 21:41:49 +0000
committerhasso <hasso>2003-05-24 21:41:49 +0000
commitecd14e7e0f88f528099dbeb31f100be9b357eca0 (patch)
tree9a9e976337b33725eb70fd8d1f1e3b1119b9d6dd /vtysh/extract.pl
parent1d426368205cda3bae42d65f8a341cf3f6bcdab3 (diff)
downloadquagga-ecd14e7e0f88f528099dbeb31f100be9b357eca0.tar.bz2
quagga-ecd14e7e0f88f528099dbeb31f100be9b357eca0.tar.xz
Revert my http://hasso.linux.ee/zebra/ht-ifrmap-14042003.patch patch. Used
same idea as in lib/distribute.c to allow extract.pl to pick up commands for vtysh.
Diffstat (limited to 'vtysh/extract.pl')
-rwxr-xr-xvtysh/extract.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/vtysh/extract.pl b/vtysh/extract.pl
index 4a49a621..ca88cf7b 100755
--- a/vtysh/extract.pl
+++ b/vtysh/extract.pl
@@ -108,6 +108,9 @@ foreach (@ARGV) {
$protocol = "VTYSH_RIPD";
}
}
+ if ($file =~ /if_rmap.c/) {
+ $protocol = "VTYSH_RIPNGD";
+ }
} else {
($protocol) = ($file =~ /\/([a-z0-9]+)/);
$protocol = "VTYSH_" . uc $protocol;