]> git.proxmox.com Git - mirror_frr.git/blobdiff - vtysh/extract.pl.in
Merge pull request #10376 from patrasar/master_pimv6_vtysh
[mirror_frr.git] / vtysh / extract.pl.in
index c2b4e779dec12f3ecc9bc4b94c3a521e32dd72d8..d940e03e1c773c3bfd52abf5a3dc903d4852e70a 100755 (executable)
@@ -118,7 +118,7 @@ sub scan_file {
             if ($defun_array[1] =~ m/ipv6/) {
                 $protocol = "VTYSH_RIPNGD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
             } else {
-                $protocol = "VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
+                $protocol = "VTYSH_RIPD|VTYSH_OSPFD|VTYSH_BGPD|VTYSH_ZEBRA|VTYSH_PIMD|VTYSH_PIM6D|VTYSH_EIGRPD|VTYSH_BABELD|VTYSH_ISISD|VTYSH_FABRICD";
             }
         }
         elsif ($file =~ /lib\/if_rmap\.c$/) {
@@ -143,6 +143,10 @@ sub scan_file {
         elsif ($fabricd) {
            $protocol = "VTYSH_FABRICD";
         }
+# Enable VTYSH_PIM6D once pim6_cmd.c is merged 
+#      elsif ($file =~ /pimd\/pim6_cmd\.c$/) {
+#              $protocol = "VTYSH_PIM6D";
+#      }
         else {
            ($protocol) = ($file =~ /^(?:.*\/)?([a-z0-9]+)\/[a-zA-Z0-9_\-]+\.c$/);
            $protocol = "VTYSH_" . uc $protocol;