]> git.puffer.fish Git - mirror/frr.git/commitdiff
pim6d: Enable protocol as VTYSH_PIM6D for pim6_cmd.c 10755/head
authorsarita patra <saritap@vmware.com>
Tue, 8 Mar 2022 09:59:14 +0000 (01:59 -0800)
committersarita patra <saritap@vmware.com>
Wed, 16 Mar 2022 06:16:41 +0000 (23:16 -0700)
Signed-off-by: sarita patra <saritap@vmware.com>
vtysh/extract.pl.in

index d940e03e1c773c3bfd52abf5a3dc903d4852e70a..07819ea76d6ea2a49c3cec9279313be5e6e2a846 100755 (executable)
@@ -143,10 +143,9 @@ 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";
-#      }
+        elsif ($file =~ /pimd\/pim6_.*\.c$/) {
+           $protocol = "VTYSH_PIM6D";
+        }
         else {
            ($protocol) = ($file =~ /^(?:.*\/)?([a-z0-9]+)\/[a-zA-Z0-9_\-]+\.c$/);
            $protocol = "VTYSH_" . uc $protocol;