commit | 0750d21fcfb034e47f781b09d984bfeec62b56a4 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Sat May 24 21:41:49 2003 +0000 |
committer | hasso <hasso> | Sat May 24 21:41:49 2003 +0000 |
tree | d8be8f2b61607f34a74c1897e6abdf3466917ff3 | |
parent | 04a72e593b870688649653f569ebc0e7589b4fdb [diff] [blame] |
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.
diff --git a/vtysh/extract.pl b/vtysh/extract.pl index 4a49a62..ca88cf7 100755 --- a/vtysh/extract.pl +++ b/vtysh/extract.pl
@@ -108,6 +108,9 @@ $protocol = "VTYSH_RIPD"; } } + if ($file =~ /if_rmap.c/) { + $protocol = "VTYSH_RIPNGD"; + } } else { ($protocol) = ($file =~ /\/([a-z0-9]+)/); $protocol = "VTYSH_" . uc $protocol;